Skip to content

Commit

Permalink
minor change ci/cd test
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoavellanedat17 committed Jul 9, 2024
1 parent 83393b2 commit 47d31d7
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 is already registered")
return user_service.create_user(db=db, user=user)

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

0 comments on commit 47d31d7

Please sign in to comment.