We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 940d67d commit 400a916Copy full SHA for 400a916
ch06/planner/routes/users.py
@@ -12,7 +12,7 @@
12
@user_router.post("/signup")
13
async def sign_user_up(user: User):
14
user_exist = await User.find_one(User.email == user.email)
15
- print(user_exist)
+
16
if user_exist:
17
raise HTTPException(
18
status_code=status.HTTP_409_CONFLICT,
@@ -40,4 +40,4 @@ async def sign_user_in(user: UserSignIn):
40
41
status_code=status.HTTP_401_UNAUTHORIZED,
42
detail="Invalid details passed."
43
- )
+ )
0 commit comments