deleteTag wasModified not necessary anymore

This commit is contained in:
Matteo Pagliazzi 2013-11-18 17:03:09 +01:00
parent 557d65a626
commit 98f3902224

View file

@ -473,9 +473,7 @@ api.deleteTag = function(req, res){
})
user.save(function(err,saved){
if (err) return res.json(500, {err: err});
// Need to use this until we found a way to update the ui for tasks when a tag is deleted
res.locals.wasModified = true;
res.send(200);
res.send(204);
});
} else {
res.json(400, {err:'Tag not found'});