Skip to content

Commit

Permalink
🐛 fix read_user_by_id docstring (#4)
Browse files Browse the repository at this point in the history
Fix incorrectly documented as "Get a specific user by username (email)". Changed to "Get a specific user by id".
  • Loading branch information
mpclarkson authored and tiangolo committed Mar 29, 2019
1 parent 5cb50a9 commit f947ba8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def read_user_by_id(
db: Session = Depends(get_db),
):
"""
Get a specific user by username (email)
Get a specific user by id
"""
user = crud.user.get(db, user_id=user_id)
if user == current_user:
Expand Down

0 comments on commit f947ba8

Please sign in to comment.