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