Fix whitespace bug for SendEmailBlock (#922)
This commit is contained in:
@@ -508,8 +508,12 @@ function getWorkflowBlock(
|
|||||||
block_type: "send_email",
|
block_type: "send_email",
|
||||||
label: node.data.label,
|
label: node.data.label,
|
||||||
body: node.data.body,
|
body: node.data.body,
|
||||||
file_attachments: node.data.fileAttachments.split(","),
|
file_attachments: node.data.fileAttachments
|
||||||
recipients: node.data.recipients.split(","),
|
.split(",")
|
||||||
|
.map((attachment) => attachment.trim()),
|
||||||
|
recipients: node.data.recipients
|
||||||
|
.split(",")
|
||||||
|
.map((recipient) => recipient.trim()),
|
||||||
subject: node.data.subject,
|
subject: node.data.subject,
|
||||||
sender: node.data.sender === "" ? EMAIL_BLOCK_SENDER : node.data.sender,
|
sender: node.data.sender === "" ? EMAIL_BLOCK_SENDER : node.data.sender,
|
||||||
smtp_host_secret_parameter_key: node.data.smtpHostSecretParameterKey,
|
smtp_host_secret_parameter_key: node.data.smtpHostSecretParameterKey,
|
||||||
|
|||||||
Reference in New Issue
Block a user