Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: magic link NaN error (#1128)

authored by

Maximilian Kaske and committed by
GitHub
9e0b04cd 50b980fc

+1
+1
apps/web/src/lib/auth/index.ts
··· 58 58 59 59 // REMINDER: only used in dev mode 60 60 if (params.account?.provider === "resend") { 61 + if (Number.isNaN(Number(params.user.id))) return true; 61 62 await db 62 63 .update(user) 63 64 .set({ updatedAt: new Date() })