Lines 23-29
export const fetchAgreement = async function (agreement_id) {
Link Here
|
23 |
}; |
23 |
}; |
24 |
|
24 |
|
25 |
export const fetchAgreements = async function () { |
25 |
export const fetchAgreements = async function () { |
26 |
const apiUrl = "/api/v1/erm/agreements"; |
26 |
const apiUrl = "/api/v1/erm/agreements?_per_page=-1"; |
27 |
let agreements; |
27 |
let agreements; |
28 |
await fetch(apiUrl) |
28 |
await fetch(apiUrl) |
29 |
.then(checkError) |
29 |
.then(checkError) |
Lines 60-66
export const fetchLicense = async function (license_id) {
Link Here
|
60 |
}; |
60 |
}; |
61 |
|
61 |
|
62 |
export const fetchLicenses = async function () { |
62 |
export const fetchLicenses = async function () { |
63 |
const apiUrl = "/api/v1/erm/licenses"; |
63 |
const apiUrl = "/api/v1/erm/licenses?_per_page=-1"; |
64 |
let licenses; |
64 |
let licenses; |
65 |
await fetch(apiUrl, { |
65 |
await fetch(apiUrl, { |
66 |
headers: { |
66 |
headers: { |
Lines 97-103
export const fetchPatron = async function (patron_id) {
Link Here
|
97 |
}; |
97 |
}; |
98 |
|
98 |
|
99 |
export const fetchVendors = async function () { |
99 |
export const fetchVendors = async function () { |
100 |
const apiUrl = "/api/v1/acquisitions/vendors"; |
100 |
const apiUrl = "/api/v1/acquisitions/vendors?_per_page=-1"; |
101 |
let vendors; |
101 |
let vendors; |
102 |
await fetch(apiUrl) |
102 |
await fetch(apiUrl) |
103 |
.then(checkError) |
103 |
.then(checkError) |
Lines 207-213
export const _fetchPackages = async function (apiUrl) {
Link Here
|
207 |
return packages; |
207 |
return packages; |
208 |
}; |
208 |
}; |
209 |
export const fetchLocalPackages = function () { |
209 |
export const fetchLocalPackages = function () { |
210 |
const apiUrl = "/api/v1/erm/eholdings/local/packages"; |
210 |
const apiUrl = "/api/v1/erm/eholdings/local/packages?_per_page=-1"; |
211 |
return _fetchPackages(apiUrl); |
211 |
return _fetchPackages(apiUrl); |
212 |
}; |
212 |
}; |
213 |
export const fetchEBSCOPackages = function () { |
213 |
export const fetchEBSCOPackages = function () { |
214 |
- |
|
|