🐛 fix read_user_by_id docstring (#4)

Fix incorrectly documented as "Get a specific user by username (email)". Changed to "Get a specific user by id".
This commit is contained in:
Matthew Clarkson
2019-03-30 00:34:38 +10:00
committed by Sebastián Ramírez
parent 5cb50a9986
commit f947ba8749

View File

@@ -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: