From d192d34c75d664a688aabccbe60c527892e23b02 Mon Sep 17 00:00:00 2001 From: Matthew Clarkson Date: Sun, 24 Mar 2019 13:41:43 +1000 Subject: [PATCH] Fixed read_user_by_id docstring Incorrectly documented as "Get a specific user by username (email)". Changed to "Get a specific user by id". --- .../backend/app/app/api/api_v1/endpoints/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints/user.py b/{{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints/user.py index a9430ba2eb..3ac36ecd58 100644 --- a/{{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints/user.py +++ b/{{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints/user.py @@ -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: