diff --git a/examples/transactional-email.js b/examples/transactional-email.js index c7c686e..f3e96bf 100644 --- a/examples/transactional-email.js +++ b/examples/transactional-email.js @@ -36,7 +36,7 @@ let req = new SendEmailRequest({ body: '', plaintext_body: '', amp_body: '', - fake_bcc: '', + fake_bcc: false, disable_message_retention: false, send_to_unsubscribed: false, diff --git a/lib/api/requests.ts b/lib/api/requests.ts index 87eea1a..c62e9f8 100644 --- a/lib/api/requests.ts +++ b/lib/api/requests.ts @@ -13,7 +13,7 @@ type SendEmailRequestOptionalOptions = Partial<{ bcc: string; plaintext_body: string; amp_body: string; - fake_bcc: string; + fake_bcc: boolean; disable_message_retention: boolean; send_to_unsubscribed: boolean; tracked: boolean;