Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pmanko committed Oct 16, 2023
1 parent 1e7e2b6 commit 12163e4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 125,220 deletions.
2 changes: 1 addition & 1 deletion src/routes/fhir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ router.get('/:resource/:id?/:operation?', async (req, res) => {
}

for (const param in req.query) {
let value = req.query[param]
const value = req.query[param]
if(value && /^[a-zA-Z0-9\-_]+$/.test(value.toString())) {
uri.addQuery(param, encodeURIComponent(value.toString()))
} else {
Expand Down
Loading

0 comments on commit 12163e4

Please sign in to comment.