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 ee6497db0b
commit 21947a2717

View File

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