From 533eb489f6ada2dcf943a5bf0721470671fbcb3f Mon Sep 17 00:00:00 2001 From: Paul Kraft Date: Thu, 7 Nov 2024 12:51:30 -0800 Subject: [PATCH] update --- functions/src/functions/blocking.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/src/functions/blocking.ts b/functions/src/functions/blocking.ts index 57e05b2e..36e6b38f 100644 --- a/functions/src/functions/blocking.ts +++ b/functions/src/functions/blocking.ts @@ -25,7 +25,7 @@ export const beforeUserCreatedFunction = beforeUserCreated( const credential = event.credential // Escape hatch for users using invitation code to enroll - if (!credential) return {} + if (!credential) return { customClaims: {} } if (event.data.email === undefined) throw new https.HttpsError(