Skip to content

Commit

Permalink
🐛 Display email with html body
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Craine committed Oct 24, 2022
1 parent 619a4ed commit de8e740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/src/functions/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down
2 changes: 1 addition & 1 deletion api/src/services/users/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de8e740

Please sign in to comment.