View | Details | Raw Unified | Return to bug 36674
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/fetch/api-client.js (-2 / +2 lines)
Lines 196-205 const apiClientFiles = { Link Here
196
    default: "./default-api-client.js",
196
    default: "./default-api-client.js",
197
};
197
};
198
198
199
const context = require.context("./", false, /\.js$/);
199
export const APIClient = Object.fromEntries(
200
export const APIClient = Object.fromEntries(
200
    Object.entries(apiClientFiles).map(([key, path]) => [
201
    Object.entries(apiClientFiles).map(([key, path]) => [
201
        key,
202
        key,
202
        createClientProxy(() => import(path)),
203
        createClientProxy(() => context(`./${path}.js`)),
203
    ])
204
    ])
204
);
205
);
205
206
206
- 

Return to bug 36674