Koha/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/api-client.js
Jonathan Druart 10322566d4
Bug 32939: Have a generic APIClient object
You always import the same, only once, and you can access other
resources from the same object.

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-02-27 11:13:09 -03:00

5 lines
No EOL
104 B
JavaScript

import ERMAPIClient from "./erm-api-client";
export const APIClient = {
erm: new ERMAPIClient(),
};