mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #43 from overleaf/ew-jpa-fix-express-deprecations
[misc] fix express deprecations
This commit is contained in:
commit
f6f20fdcb6
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ module.exports = MessageHttpController = {
|
|||
if (error != null) {
|
||||
return next(error)
|
||||
}
|
||||
return res.status(204).send()
|
||||
return res.sendStatus(204)
|
||||
})
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue