This commit is contained in:
GotPPay
2018-01-19 20:28:26 +01:00
parent b73086291c
commit e2d648980b
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -101,8 +101,7 @@ module.exports = {
':elicitSlot', ':elicitSlot',
slotToElicit, slotToElicit,
speechOutput, speechOutput,
repromptSpeech, repromptSpeech
intent
); );
} else { } else {
//Email is valid //Email is valid