Skip to content

Commit 60879d2

Browse files
fix(integrations/sendgrid): fix cc and bcc not being received (botpress#14245)
1 parent f1921fe commit 60879d2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

integrations/sendgrid/integration.definition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
export default new IntegrationDefinition({
1313
name: 'sendgrid',
1414
title: 'SendGrid',
15-
version: '0.1.6',
15+
version: '0.1.7',
1616
readme: 'hub.md',
1717
icon: 'icon.svg',
1818
description: 'Send markdown rich-text emails using the SendGrid email service.',

integrations/sendgrid/src/actions/send-mail.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ export const sendMail: bp.IntegrationProps['actions']['sendMail'] = async ({ ctx
1111
personalizations: [
1212
{
1313
to: input.to,
14+
cc: input.cc,
15+
bcc: input.bcc,
1416
},
1517
],
1618
from: input.from,
17-
cc: input.cc,
18-
bcc: input.bcc,
1919
replyTo: input.replyTo,
2020
subject: input.subject,
2121
html: markdownToHtml(input.body),

0 commit comments

Comments
 (0)