fix for no auth

This commit is contained in:
les
2020-01-31 23:33:40 +01:00
parent c8f2c4b552
commit d0e9f417fd

View File

@@ -25,7 +25,7 @@ const Auth = {
if (req.user) {
next()
} else {
res.status(404)
res.sendStatus(404)
}
},