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 authored and elsaperelli committed Oct 2, 2024
1 parent 1400b53 commit 1a7a74d
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 1a7a74d

Please sign in to comment.