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 --- controllers/root/logout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'controllers/root/logout.js') diff --git a/controllers/root/logout.js b/controllers/root/logout.js index 078df9a..d8b1b75 100644 --- a/controllers/root/logout.js +++ b/controllers/root/logout.js @@ -1,7 +1,7 @@ export function logout_get(req, res) { if (req.session.user !== undefined) { - res.clearCookie("JDMSessionId"); + res.clearCookie('JDMSessionId'); req.session.destroy(); } - return res.redirect(302, "/"); + return res.redirect(302, '/'); } -- cgit v1.2.3