fix InteractionModel generator

This commit is contained in:
GotPPay
2018-01-22 22:34:13 +01:00
parent 085a0324b3
commit a00859c594
2 changed files with 17 additions and 27 deletions

View File

@@ -79,6 +79,7 @@ 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)