Skip to content

Commit

Permalink
Fix publication identifier types to use correct db name capitalizatio…
Browse files Browse the repository at this point in the history
…n in api requests
  • Loading branch information
sallybg committed Jun 4, 2024
1 parent 4bd9e2d commit c8fcb3e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/item-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const itemTypes = {
httpOptions: {
list: {
method: 'get',
url: `${config.apiBaseUrl}/publication-identifiers/pubmed`
url: `${config.apiBaseUrl}/publication-identifiers/PubMed`
}
}
},
Expand All @@ -52,7 +52,7 @@ const itemTypes = {
httpOptions: {
list: {
method: 'get',
url: `${config.apiBaseUrl}/publication-identifiers/biorxiv`
url: `${config.apiBaseUrl}/publication-identifiers/bioRxiv`
}
}
},
Expand All @@ -63,7 +63,7 @@ const itemTypes = {
httpOptions: {
list: {
method: 'get',
url: `${config.apiBaseUrl}/publication-identifiers/medrxiv`
url: `${config.apiBaseUrl}/publication-identifiers/medRxiv`
}
}
},
Expand All @@ -74,7 +74,7 @@ const itemTypes = {
httpOptions: {
list: {
method: 'get',
url: `${config.apiBaseUrl}/publication-identifiers/crossref`
url: `${config.apiBaseUrl}/publication-identifiers/Crossref`
}
}
},
Expand Down

0 comments on commit c8fcb3e

Please sign in to comment.