Closed arrocke closed 8 months ago
Unrelate to this PR, but I saw this when signing in from an invite.
I updated a user's email, clicked the verification link, then logged back in.
I then attempted to update the user's password
MissingEmailAddressError: We can't send emails to user with id 018e1324-0c33-e9a5-8642-6a835699f649 because they are missing an email address.
at Object.sendEmail (webpack-internal:///(api)/./shared/mailer.ts:55:23)
at Object.handler (webpack-internal:///(api)/./pages/api/users/[userId].ts:88:74)
at async eval (webpack-internal:///(api)/./shared/Route.ts:171:21)
at async eval (webpack-internal:///(api)/./shared/Route.ts:230:21)
The bug occurs when I try to update the password for any user.
I updated the seed file and fixed the mailer
What has changed
QA Steps
nx run db:prisma migrate dev
Post-Deployment