Skip to content

Commit f947ba8

Browse files
mpclarksontiangolo
authored andcommitted
🐛 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".
1 parent 5cb50a9 commit f947ba8

File tree

1 file changed

+1
-1
lines changed
  • {{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints

1 file changed

+1
-1
lines changed

{{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints/user.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def read_user_by_id(
123123
db: Session = Depends(get_db),
124124
):
125125
"""
126-
Get a specific user by username (email)
126+
Get a specific user by id
127127
"""
128128
user = crud.user.get(db, user_id=user_id)
129129
if user == current_user:

0 commit comments

Comments
 (0)