Skip to content

Commit

Permalink
test message to test ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoavellanedat17 committed Jul 9, 2024
1 parent 5ad2659 commit d2c7e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routers/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
def register_user(user: UserCreate, db: Session = Depends(get_db)):
db_user = user_service.get_user_by_email(db, email=user.email)
if db_user:
raise HTTPException(status_code=400, detail="Email already registered")
raise HTTPException(status_code=400, detail="Email exists")
return user_service.create_user(db=db, user=user)

@router.post("/login")
Expand Down

0 comments on commit d2c7e6c

Please sign in to comment.