i am stupid

This commit is contained in:
Miodec 2023-04-12 16:26:45 +02:00
parent 8f42872132
commit 26a876938e

View file

@ -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