Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Commit

Permalink
🐛 Fix updating self user endpoint with payload as body
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Feb 20, 2019
1 parent 4ffe73a commit 83c0bfc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def route_users_post(
@router.put("/users/me", tags=["users"], response_model=User)
def route_users_me_put(
*,
password: str = None,
full_name: str = None,
email: EmailStr = None,
password: str = Body(None),
full_name: str = Body(None),
email: EmailStr = Body(None),
current_user: UserInDB = Depends(get_current_user),
):
"""
Expand Down

0 comments on commit 83c0bfc

Please sign in to comment.