There is no function called sendstatus

This commit is contained in:
Kasper Rynning-Tønnesen
2018-06-04 11:33:05 +02:00
committed by GitHub
parent f3dd0b0063
commit 99c1b1bd99

View File

@@ -132,6 +132,6 @@ function routingFunction(req, res, next) {
client(req, res, next);
}
} catch(e) {
res.sendStatus(500);
res.status(500);
}
}