1
0
Fork 0

fix: Unused bcc addresses in email script

This commit is contained in:
Joost De Cock 2023-08-08 11:31:16 +02:00
parent fd96e3aa55
commit 3951e7b44b

View file

@ -1,5 +1,3 @@
import path from 'path'
import { fileURLToPath } from 'url'
import { SESv2Client, SendEmailCommand } from '@aws-sdk/client-sesv2'
export const send = async ({
@ -39,7 +37,7 @@ export const send = async ({
},
Destination: {
ToAddresses: to,
BccAddresses: to,
BccAddresses: bcc,
},
FromEmailAddress: us,
})