Replace ==/!= with ===/!==

This commit is contained in:
deepsource-autofix[bot]
2022-09-05 16:40:08 +00:00
committed by GitHub
parent ba325cdd63
commit 29e4d677f3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export const setup = function (router, con, server) {
res.locals.settings = JSON.parse(result[0].User_Settings);
if (res.locals.settings == "null")
res.locals.settings = {};
if (res.locals.settings == null)
if (res.locals.settings === null)
res.locals.settings = {};
}