updated express.send to express.sendStatus

This commit is contained in:
mserranom 2020-03-26 15:36:49 +01:00
parent 2f3d664db0
commit 682fd526c0

View file

@ -38,7 +38,7 @@ module.exports = {
notifications
) {
if (err != null) {
return res.send(500)
return res.sendStatus(500)
} else {
return res.send()
}