From d7ed1196bdd44d7734d41d91a5e72a71785e0a08 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 5 Jan 2023 02:09:07 +0100 Subject: switched to single quotes string in eslint --- middlewares/requireAuth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'middlewares/requireAuth.js') diff --git a/middlewares/requireAuth.js b/middlewares/requireAuth.js index 1ea6deb..4d85e43 100644 --- a/middlewares/requireAuth.js +++ b/middlewares/requireAuth.js @@ -2,7 +2,7 @@ function requireAuth(req, res, next) { if (req.session.user !== undefined) { return next(); } - return res.redirect(302, "/login"); + return res.redirect(302, '/login'); } export default requireAuth; -- cgit v1.2.3