fix typo
This commit is contained in:
@@ -26,7 +26,7 @@ module.exports = {
|
||||
return validEmailRegex.test (email);
|
||||
},
|
||||
|
||||
sendEmal: function (name, fromEmail, message, toEmail) {
|
||||
sendEmail: function (name, fromEmail, message, toEmail) {
|
||||
return new Promise ((resolve, reject) => {
|
||||
fromEmail = this.transformEmailFromAlexaResponse(fromEmail);
|
||||
let messageBody =
|
||||
|
||||
@@ -121,7 +121,7 @@ module.exports = {
|
||||
console.log ('Email : ' + intent.slots.Email.value);
|
||||
console.log ('Message : ' + intent.slots.Message.value);
|
||||
emailHelper
|
||||
.sendEmal (
|
||||
.sendEmail (
|
||||
intent.slots.Name.value,
|
||||
intent.slots.Email.value,
|
||||
intent.slots.Message.value,
|
||||
|
||||
Reference in New Issue
Block a user