This commit is contained in:
David Arranz 2022-09-19 14:54:14 +02:00
parent bd36edbe98
commit f148b638b9

View File

@ -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,