Send message feature #11

Merged
senaduka merged 32 commits from send-message-feature into master 2018-01-23 12:20:02 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit e2d648980b - Show all commits

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