fix: Unused bcc addresses in email script
This commit is contained in:
parent
fd96e3aa55
commit
3951e7b44b
1 changed files with 1 additions and 3 deletions
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue