mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
woops, res.json the error
This commit is contained in:
parent
23f3154764
commit
7a83be70b1
1 changed files with 1 additions and 1 deletions
|
|
@ -382,6 +382,6 @@ api.batchUpdate = (req, res, next) ->
|
|||
|
||||
# call all the operations, then return the user object to the requester
|
||||
async.series actions, (err) ->
|
||||
return res.send 500, {err} if err
|
||||
return res.json 500, {err} if err
|
||||
res.json 200, helpers.derbyUserToAPI(user)
|
||||
console.log "Reply sent"
|
||||
Loading…
Reference in a new issue