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("/:username", async (req, res) => {
// attempt to parse user from username
const userObj = global.utils.getUserObjFromUsername(params.username);
if (userObj == null) {
if (userObj === null) {
res.status(400).send({ auth:true, error:`username ${params.username} does not match format uid@realm.` });
}