/checkupdates: Show Button, when Upgrade Version is available ! (check from the server, the version number

This commit is contained in:
Paolo Arena
2019-02-22 10:23:39 +01:00
parent c7f13d820d
commit d78de1a25c
9 changed files with 133 additions and 4 deletions

View File

@@ -79,6 +79,7 @@ router.patch('/:id', authenticate, (req, res) => {
}
Todo.findByIdAndUpdate(id, { $set: body }, { new: true }).then((todo) => {
tools.mylogshow(' TODO TO MODIFY: ', todo.descr, todo.expiring_at);
if (!todo) {