mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-22 11:38:24 +00:00
deleteTag wasModified not necessary anymore
This commit is contained in:
parent
557d65a626
commit
98f3902224
1 changed files with 1 additions and 3 deletions
|
|
@ -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'});
|
||||
|
|
|
|||
Loading…
Reference in a new issue