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

committed by
Sebastián Ramírez

parent
5cb50a9986
commit
f947ba8749
@@ -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:
|
||||
|
Reference in New Issue
Block a user