From 17a53877af1f60a284ddfdef6c3f5c7efde26804 Mon Sep 17 00:00:00 2001 From: Danielle Mayabb Date: Tue, 17 Oct 2023 09:22:40 -0700 Subject: [PATCH] Remove duplicate 'users' in route --- api/routers/v1/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/routers/v1/users.py b/api/routers/v1/users.py index d7665ca5c..9d6a30752 100644 --- a/api/routers/v1/users.py +++ b/api/routers/v1/users.py @@ -14,6 +14,6 @@ ) -@router.get("/users/me", response_model=AppUser) +@router.get("/me", response_model=AppUser) async def get_current_user_profile(current_user=Depends(get_current_user), db: Session = Depends(get_db)): return current_user