fix == and != to === and !==, add check to eslint

This commit is contained in:
2026-06-10 16:49:47 +00:00
parent 132e25b7f2
commit 13ef5fce09
6 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ router.get("/:groupname", async (req, res) => {
// attempt to parse group from groupname
const groupObj = global.utils.getGroupObjFromGroupname(params.groupname);
if (groupObj == null) {
if (groupObj === null) {
res.status(400).send({ auth: true, error:`Groupname ${params.groupname} does not match format gid-realm or gid.` });
}