fix(api): handle users without email addresses (#60467)

This commit is contained in:
Oliver Eyton-Williams
2025-05-22 11:28:56 +02:00
committed by GitHub
parent 1311b4e10f
commit 848ae3aacf
11 changed files with 84 additions and 17 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ model user {
quizAttempts QuizAttempt[] // Undefined
currentChallengeId String?
donationEmails String[] // Undefined | String[] (only possible for built in Types like String)
email String
email String?
emailAuthLinkTTL DateTime? // Null | Undefined
emailVerified Boolean?
emailVerifyTTL DateTime? // Null | Undefined