From f947ba8749235413099746254ec649e86175bd30 Mon Sep 17 00:00:00 2001 From: Matthew Clarkson Date: Sat, 30 Mar 2019 00:34:38 +1000 Subject: [PATCH] :bug: 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". --- .../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 a9430ba..3ac36ec 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: