diff --git a/backend/src/routes/auth.ts b/backend/src/routes/auth.ts index 8e87581..c9602aa 100644 --- a/backend/src/routes/auth.ts +++ b/backend/src/routes/auth.ts @@ -72,7 +72,7 @@ router.get('/startSignup', async function (req, res) { { username }, db ) - if (count === 0) { + if (count == 0) { req.session.signupInfo = { username } return res.send({ username }) }