Fix error when adding attachments (#82)

This commit is contained in:
Xavi Velàsquez
2024-11-28 22:28:26 +01:00
committed by GitHub
parent 9f182e8748
commit 26f42e6e9e
2 changed files with 7 additions and 4 deletions

View File

@@ -220,6 +220,9 @@ async function executeEmail(
to: email.to,
from: email.from,
subject: email.subject,
replyTo: email.replyTo ?? undefined,
bcc: email.bcc,
cc: email.cc,
text,
html: email.html ?? undefined,
region: domain?.region ?? env.AWS_DEFAULT_REGION,