mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
Update Mailjet.node.ts
This commit is contained in:
parent
eecd511bd4
commit
f27ff9f461
|
@ -288,6 +288,12 @@ export class Mailjet implements INodeType {
|
|||
if (additionalFields.priority) {
|
||||
body.Priority = additionalFields.priority as number;
|
||||
}
|
||||
if (additionalFields.customCampaign) {
|
||||
body.CustomCampaign = additionalFields.customCampaign as string;
|
||||
}
|
||||
if (additionalFields.deduplicateCampaign) {
|
||||
body.DeduplicateCampaign = additionalFields.deduplicateCampaign as boolean;
|
||||
}
|
||||
responseData = await mailjetApiRequest.call(this, 'POST', '/v3.1/send', {
|
||||
Messages: [body],
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue