diff --git a/backend/helpers/amazon.js b/backend/helpers/amazon.js index 6d1b553..2839f40 100644 --- a/backend/helpers/amazon.js +++ b/backend/helpers/amazon.js @@ -236,10 +236,12 @@ var generateInteractionModel = function (skill) { invocationName: skill.invocationName, types: customSlotTypes, intents: allIntents, - prompts: dialogPrompts, - dialog: dialog, }; + result.prompts = dialogPrompts; + result.dialog = dialog; + + console.log(JSON.stringify(result)); return JSON.stringify (result); };