fix #1611, @lefnire added a migration for deleted tags, this time it should not delete all of them ;)
This commit is contained in:
@@ -471,6 +471,10 @@ api.deleteTag = function(req, res){
|
||||
delete task.tags[tag.id];
|
||||
})
|
||||
})
|
||||
user.markModified('habits');
|
||||
user.markModified('dailys');
|
||||
user.markModified('todos');
|
||||
user.markModified('rewards');
|
||||
user.save(function(err,saved){
|
||||
if (err) return res.json(500, {err: err});
|
||||
res.send(204);
|
||||
|
||||
Reference in New Issue
Block a user