From f148b638b9f611632166366ae48d5c0d02bed7a9 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 19 Sep 2022 14:54:14 +0200 Subject: [PATCH] . --- helpers/sendinblue.helper.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/helpers/sendinblue.helper.js b/helpers/sendinblue.helper.js index c6a90e3..ba60e37 100644 --- a/helpers/sendinblue.helper.js +++ b/helpers/sendinblue.helper.js @@ -12,11 +12,12 @@ function sendEmailTransactional(header, body) { if (header === undefined || header === null) { throw new Error("Missing the required parameter 'header' when calling sendEmailTransactional"); - } + }; if (body === undefined || body === null) { throw new Error("Missing the required parameter 'body' when calling sendEmailTransactional"); - } + }; + let apiInstance = new SibApiV3Sdk.TransactionalEmailsApi(); let sendSmtpEmail = new SibApiV3Sdk.SendSmtpEmail(); @@ -31,7 +32,7 @@ function sendEmailTransactional(header, body) { sendSmtpEmail.params = { tipoEntrada: body.Variables.tipoEntrada, color: body.Variables.color, - descripcionEntrada: body.Variables.descripcionEntrada, + descriptionEntrada: body.Variables.descriptionEntrada, eventName: body.Variables.eventName, dateEvent: body.Variables.dateEvent, nameInscription: body.Variables.nameInscription,