Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixed read_user_by_id docstring
Incorrectly documented as "Get a specific user by username (email)". Changed to "Get a specific user by id".
  • Loading branch information
mpclarkson authored Mar 24, 2019
commit d192d34c75d664a688aabccbe60c527892e23b02
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