Skip to content

Commit

Permalink
fix missing / in url replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
hossenlopp committed Oct 1, 2024
1 parent 86adf59 commit a1d966e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/scripts/dbSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async function fixAndPutLibraries(bundle: fhir4.Bundle, url: string) {
ra.resource?.startsWith('http://ecqi.healthit.gov/ecqms/Library')
) {
const newRef = ra.resource.replace(
'http://ecqi.healthit.gov/ecqms/Library',
'http://ecqi.healthit.gov/ecqms/Library/',
'https://madie.cms.gov/Library/'
);
console.log(` replacing ra ${ra.resource} with ${newRef}`);
Expand Down

0 comments on commit a1d966e

Please sign in to comment.