fix code
This commit is contained in:
@@ -28,6 +28,7 @@ module.exports = {
|
|||||||
|
|
||||||
sendEmal: function (name, fromEmail, message, toEmail) {
|
sendEmal: function (name, fromEmail, message, toEmail) {
|
||||||
return new Promise ((resolve, reject) => {
|
return new Promise ((resolve, reject) => {
|
||||||
|
fromEmail = this.transformEmailFromAlexaResponse(fromEmail);
|
||||||
let messageBody =
|
let messageBody =
|
||||||
'Hello. User left you a message on Saburly service using Alexa skill. \r\nMessage : ' +
|
'Hello. User left you a message on Saburly service using Alexa skill. \r\nMessage : ' +
|
||||||
message +
|
message +
|
||||||
|
|||||||
@@ -101,8 +101,7 @@ module.exports = {
|
|||||||
':elicitSlot',
|
':elicitSlot',
|
||||||
slotToElicit,
|
slotToElicit,
|
||||||
speechOutput,
|
speechOutput,
|
||||||
repromptSpeech,
|
repromptSpeech
|
||||||
intent
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
//Email is valid
|
//Email is valid
|
||||||
|
|||||||
Reference in New Issue
Block a user