From 4dbed85b25f3aacb1509329e05caccdafa92d04a Mon Sep 17 00:00:00 2001 From: scosman Date: Sun, 28 Jul 2024 18:35:50 -0400 Subject: [PATCH] Fix async issue that only occures on serverless environments --- src/lib/mailer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/mailer.ts b/src/lib/mailer.ts index dead085f..ef24df96 100644 --- a/src/lib/mailer.ts +++ b/src/lib/mailer.ts @@ -73,7 +73,7 @@ export const sendUserEmail = async ({ return } - sendTemplatedEmail({ + await sendTemplatedEmail({ subject, to_emails: [email], from_email,