From c8fcb3e8dbceb2475415efc0055b5bf25c1a2ec0 Mon Sep 17 00:00:00 2001 From: Sally Grindstaff Date: Tue, 4 Jun 2024 12:28:38 -0700 Subject: [PATCH] Fix publication identifier types to use correct db name capitalization in api requests --- src/lib/item-types.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/item-types.js b/src/lib/item-types.js index 8b7d8bc3..d26109a8 100644 --- a/src/lib/item-types.js +++ b/src/lib/item-types.js @@ -41,7 +41,7 @@ const itemTypes = { httpOptions: { list: { method: 'get', - url: `${config.apiBaseUrl}/publication-identifiers/pubmed` + url: `${config.apiBaseUrl}/publication-identifiers/PubMed` } } }, @@ -52,7 +52,7 @@ const itemTypes = { httpOptions: { list: { method: 'get', - url: `${config.apiBaseUrl}/publication-identifiers/biorxiv` + url: `${config.apiBaseUrl}/publication-identifiers/bioRxiv` } } }, @@ -63,7 +63,7 @@ const itemTypes = { httpOptions: { list: { method: 'get', - url: `${config.apiBaseUrl}/publication-identifiers/medrxiv` + url: `${config.apiBaseUrl}/publication-identifiers/medRxiv` } } }, @@ -74,7 +74,7 @@ const itemTypes = { httpOptions: { list: { method: 'get', - url: `${config.apiBaseUrl}/publication-identifiers/crossref` + url: `${config.apiBaseUrl}/publication-identifiers/Crossref` } } },