mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
This commit is contained in:
parent
eb909a4a21
commit
686f0f0102
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