diff --git a/api/src/functions/auth.ts b/api/src/functions/auth.ts index e195941..d21d47a 100644 --- a/api/src/functions/auth.ts +++ b/api/src/functions/auth.ts @@ -132,7 +132,7 @@ export const handler = async (event, context) => { sendEmail({ to: user.email, subject: verificationEmail.subject(), - text: verificationEmail.htmlBody(user), + html: verificationEmail.htmlBody(user), }) return user }, diff --git a/api/src/services/users/users.ts b/api/src/services/users/users.ts index be1e214..7bd48d9 100644 --- a/api/src/services/users/users.ts +++ b/api/src/services/users/users.ts @@ -91,7 +91,7 @@ export const verifyReset: MutationResolvers['verifyReset'] = async ({ sendEmail({ to: user.email, subject: verificationEmail.subject(), - text: verificationEmail.htmlBody(user), + html: verificationEmail.htmlBody(user), }) } return email