From c0a6ae64e07a367b7343bb484a62d57aeca7dbaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Thu, 22 Nov 2018 20:37:30 +0100 Subject: [PATCH] chore: fix linting --- lib/middleware/simple-authentication.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/middleware/simple-authentication.js b/lib/middleware/simple-authentication.js index d4ead337c3..0276f28576 100644 --- a/lib/middleware/simple-authentication.js +++ b/lib/middleware/simple-authentication.js @@ -7,7 +7,8 @@ function unsecureAuthentication(app) { app.post('/api/admin/login', (req, res) => { const user = req.body; req.session.user = new User({ email: user.email }); - res.status(200) + res + .status(200) .json(req.session.user) .end(); });