Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /