From 99c1b1bd991fa13e65dc7d096a47aef88dd4ac25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Mon, 4 Jun 2018 11:33:05 +0200 Subject: [PATCH] There is no function called sendstatus --- server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.js b/server/app.js index 7a090465..77f5ffb0 100644 --- a/server/app.js +++ b/server/app.js @@ -132,6 +132,6 @@ function routingFunction(req, res, next) { client(req, res, next); } } catch(e) { - res.sendStatus(500); + res.status(500); } }