Merge pull request #43 from overleaf/ew-jpa-fix-express-deprecations

[misc] fix express deprecations
This commit is contained in:
Jakob Ackermann 2020-04-17 11:21:04 +02:00 committed by GitHub
commit f6f20fdcb6

View file

@ -161,7 +161,7 @@ module.exports = MessageHttpController = {
if (error != null) {
return next(error)
}
return res.status(204).send()
return res.sendStatus(204)
})
})
},