We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 879cda0 commit 3267970Copy full SHA for 3267970
app.py
@@ -69,7 +69,7 @@ async def new_user_handler(request):
69
user = await db['users'].find_one({ "username": username })
70
if user is not None: return res.json({ "message": "A user with this username already exists", "status": 409 })
71
user = await db['users'].find_one({ "email": email })
72
- if user is not None: return res.json({ "message": "A user with thsi email already exists", "status": 409 })
+ if user is not None: return res.json({ "message": "A user with this email already exists", "status": 409 })
73
74
# Hash password
75
hashed_pass = ph.hash(password)
0 commit comments