Skip to content

Commit

Permalink
[Platform]: update clinicaltrials URL in config (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaFumis authored Nov 9, 2023
1 parent c0e2ea6 commit 6f91ada
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/platform/src/utils/urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function europePmcBiblioSearchPOSTQuery(ids, size = 25) {
}

function clinicalTrialsUrl(id) {
return `https://www.clinicaltrials.gov/ct2/show/${id}`;
return `https://www.clinicaltrials.gov/study/${id}`;
}

function fdaUrl(id) {
Expand Down
2 changes: 1 addition & 1 deletion packages/sections/src/utils/urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function europePmcBiblioSearchPOSTQuery(ids, size = 25) {
}

function clinicalTrialsUrl(id) {
return `https://www.clinicaltrials.gov/ct2/show/${id}`;
return `https://www.clinicaltrials.gov/study/${id}`;
}

function fdaUrl(id) {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/utils/urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function europePmcBiblioSearchPOSTQuery(ids, size = 25) {
}

function clinicalTrialsUrl(id) {
return `https://www.clinicaltrials.gov/ct2/show/${id}`;
return `https://www.clinicaltrials.gov/study/${id}`;
}

function fdaUrl(id) {
Expand Down

0 comments on commit 6f91ada

Please sign in to comment.