mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-05-20 12:48:43 +00:00
always send _v
This commit is contained in:
parent
0c0e0834be
commit
2d02e49e06
1 changed files with 1 additions and 1 deletions
|
|
@ -715,7 +715,7 @@ api.batchUpdate = function(req, res, next) {
|
|||
if(response.wasModified){
|
||||
res.json(200, response);
|
||||
}else{
|
||||
res.json(204);
|
||||
res.json(200, {_v: response._v});
|
||||
}
|
||||
|
||||
return console.log("Reply sent");
|
||||
|
|
|
|||
Loading…
Reference in a new issue