Skip to content

Commit

Permalink
Remove duplicate 'users' in route
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtrek14 committed Oct 17, 2023
1 parent 7a42134 commit 17a5387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/routers/v1/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 17a5387

Please sign in to comment.