Bug 30708: Fix conflict with 34055 and 34219
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
0f13508c1d
commit
cf348a1a9b
2 changed files with 3 additions and 2 deletions
|
@ -168,7 +168,7 @@ export default {
|
|||
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
|
||||
|
|
|
@ -9,11 +9,12 @@ export class ItemAPIClient extends HttpClient {
|
|||
|
||||
get items() {
|
||||
return {
|
||||
getAll: (query, params) =>
|
||||
getAll: (query, params, headers) =>
|
||||
this.getAll({
|
||||
endpoint: "items",
|
||||
query,
|
||||
params,
|
||||
headers,
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue