https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36369

--- Comment #11 from Jonathan Druart <[email protected]> ---
It could work to reduce the number of lines in the -api-client.js.

Two points however:
1. The endpoint need to be configurable. 'this._baseURL + "/" + id' is too
simple and does not work for everything (eg. /patrons/{patron_id}/holds,
/trains/{train_id}/items/{item_id})

2. So far we have decided to provide what is implemented/used. With this we
will offer in the view usage of routes that may not be implemented yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to