const client = APIClient.item
let q = { "me.item_id": item_ids }
await client.items
.getAll(q, { headers: { "x-koha-embed": "biblio" } })
.getAll(q, {}, { headers: { "x-koha-embed": "biblio" } })
.then(
items => {
this.items = items
get items() {
return {
getAll: (query, params) =>
getAll: (query, params, headers) =>
this.getAll({
endpoint: "items",
query,
params,
headers,
}),
};
}
-