Skip to content

Commit

Permalink
Merge pull request #243 from BIDMCDigitalPsychiatry/issue-500
Browse files Browse the repository at this point in the history
Checking 500 issue
  • Loading branch information
sarithapillai8 authored May 15, 2024
2 parents 8511a18 + 376e54e commit ca4d4c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/service/ActivityEventService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ ActivityEventService.Router.get("/participant/:participant_id/activity_event", a
data: await ActivityEventService.list(
req.get("Authorization"),
req.params.participant_id,
req.query.ignore_binary === "true",
(req.params as any).ignore_binary as boolean,
req.query.origin as string,
Number.parse((req.query as any).from),
Number.parse((req.query as any).to),
Expand Down
2 changes: 1 addition & 1 deletion src/service/SensorEventService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ SensorEventService.Router.get("/participant/:participant_id/sensor_event", async
data: await SensorEventService.list(
req.get("Authorization"),
req.params.participant_id,
req.query.ignore_binary === "true",
(req.params as any).ignore_binary as boolean,
req.query.origin as string,
Number.parse((req.query as any).from),
Number.parse((req.query as any).to),
Expand Down

0 comments on commit ca4d4c2

Please sign in to comment.