Skip to content

Commit

Permalink
Work around count not being a number
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrauer committed Jun 27, 2020
1 parent 4e2e9d4 commit fd440d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/routes/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
}
Expand Down

0 comments on commit fd440d1

Please sign in to comment.