Aggiornamenti 2

This commit is contained in:
Paolo Arena
2020-05-04 19:34:41 +02:00
parent 2549d43447
commit 7d0538f7ae
29 changed files with 698 additions and 221 deletions

View File

@@ -77,7 +77,7 @@ router.post('/', authenticate, (req, res) => {
})
});
}).catch((e) => {
console.log(e);
console.log(e.message);
// res.status(400).send(e);
return res.send({ code: server_constants.RIS_CODE_ERR, msg: '' });
})
@@ -106,7 +106,7 @@ router.get('/:username/:lastdataread/:idapp', authenticate, (req, res) => {
// });
}).catch((e) => {
console.log(e);
console.log(e.message);
res.status(400).send(e);
});