[misc] fix express deprecations

Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
This commit is contained in:
Ersun Warncke
2020-04-15 18:43:23 +02:00
committed by Jakob Ackermann
co-authored by Jakob Ackermann
parent eb909a4a21
commit 686f0f0102
@@ -161,7 +161,7 @@ module.exports = MessageHttpController = {
if (error != null) {
return next(error)
}
return res.status(204).send()
return res.sendStatus(204)
})
})
},