Skip to content

Commit 15a57ca

Browse files
committed
Some cleanup
This manifest method is unused and was previously removed.
1 parent bd390a1 commit 15a57ca

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

app/src/utils/apiClients/apiClients.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,6 @@ export class CollectionsApi {
237237
return response;
238238
}
239239

240-
static async getManifestForItemUUID(uuid: string, clientIP: string | null) {
241-
let apiUrl = `${process.env.COLLECTIONS_API_URL}/manifests/${uuid}`;
242-
const response = await fetchApi({
243-
apiUrl: apiUrl,
244-
options: { clientIP: clientIP },
245-
});
246-
return response;
247-
}
248-
249240
/**
250241
* Returns mapping of given collection UUIDs to their item counts.
251242
* @param {string[]} uuids - Array of collection UUIDs

app/src/utils/fetchApi/fetchApi.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// import logger from "logger";
2-
31
/**
42
* Makes a GET or POST request to Repo/Collections API and returns the response.
53
* Times out at 10 seconds to prevent 504 crash.

0 commit comments

Comments
 (0)