From 0ca4ce9ce5fcb813739c3cea6d163d5fe8a38c15 Mon Sep 17 00:00:00 2001 From: Josh Mandel Date: Tue, 10 Dec 2024 13:06:23 -0600 Subject: [PATCH] Fix type error --- backend/routes/auth/authorize.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/auth/authorize.ts b/backend/routes/auth/authorize.ts index 9032fe6..b205ac7 100644 --- a/backend/routes/auth/authorize.ts +++ b/backend/routes/auth/authorize.ts @@ -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"; }