.
This commit is contained in:
parent
bd36edbe98
commit
f148b638b9
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user