Skip to content

Commit

Permalink
Add version to elements param
Browse files Browse the repository at this point in the history
  • Loading branch information
elsaperelli committed Feb 14, 2024
1 parent 1c8583a commit 7f39387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/server/trpc/routers/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const serviceRouter = router({
.input(z.object({ resourceType: z.enum(['Measure', 'Library']) }))
.query(async ({ input }) => {
const artifactBundle = await fetch(
`${process.env.MRS_SERVER}/${input.resourceType}?_elements=id,name,extension`
`${process.env.MRS_SERVER}/${input.resourceType}?_elements=id,name,extension,version`
).then(resArtifacts => resArtifacts.json() as Promise<fhir4.Bundle<FhirArtifact>>);
const artifactList = artifactBundle.entry?.map(entry => ({
label:
Expand Down

0 comments on commit 7f39387

Please sign in to comment.