Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
jmandel committed Dec 10, 2024
1 parent 57ef0be commit 0ca4ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/routes/auth/authorize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ export default class AuthorizeHandler {
launchOptions.launch_type = "provider-standalone";
}
if (context.user.startsWith("Patient")) {
launchOptions.patient.set(context.patient);
launchOptions.patient.set(context.user.split("/")[1]);
launchOptions.launch_type = "patient-standalone";
}

Expand Down

0 comments on commit 0ca4ce9

Please sign in to comment.