Skip to content

Commit

Permalink
add await for send email call
Browse files Browse the repository at this point in the history
  • Loading branch information
markusahlstrand committed Dec 16, 2024
1 parent d2bc076 commit f1fa745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/authhero/src/emails/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export async function sendEmail(
throw new HTTPException(500, { message: "Email provider not found" });
}

emailService({
await emailService({
to,
from: emailProvider.default_from_address || `login@${ctx.env.ISSUER}`,
subject,
Expand Down

0 comments on commit f1fa745

Please sign in to comment.