From 26a876938e8b60bac64942d982343b6999e119ac Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 12 Apr 2023 16:26:45 +0200 Subject: [PATCH] i am stupid --- backend/src/api/controllers/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/controllers/user.ts b/backend/src/api/controllers/user.ts index 525836f4d..259df4221 100644 --- a/backend/src/api/controllers/user.ts +++ b/backend/src/api/controllers/user.ts @@ -66,7 +66,7 @@ export async function sendVerificationEmail( const isVerified = ( await admin .auth() - .getUser("uid") + .getUser(uid) .catch((e) => { throw new MonkeyError( 500, // this should never happen, but it does. it mightve been caused by auth token cache, will see if disabling cache fixes it