fix InteractionModel generator

This commit is contained in:
GotPPay
2018-01-22 22:34:58 +01:00
parent a00859c594
commit af19108e9c
2 changed files with 0 additions and 2 deletions

View File

@@ -79,7 +79,6 @@ router.put ('/:id', bodyParser.json (), async (req, res, next) => {
}
})
.catch (e => {
console.log(e);
//Update on amazon failed, revert changes in database and send error to user
databaseHelper
.updateSkill (id, currentSkillState)

View File

@@ -245,7 +245,6 @@ var generateInteractionModel = function (skill) {
var uploadSkill = function (skill) {
let generatedInteractionModel = generateInteractionModel(skill);
console.log(generatedInteractionModel);
return fetch (
`https://api.amazonalexa.com/v0/skills/${skill.skillID}/interactionModel/locales/en-US`,
{