Skip to content

Commit

Permalink
refactor: update func name for user patch
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jan 28, 2025
1 parent 0132b31 commit 3937b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/users/user_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def get_user_roles(current_user: Annotated[DbUser, Depends(mapper)]):


@router.patch("/{user_id}", response_model=user_schemas.UserOut)
async def change_user_role(
async def update_existing_user(
user_id: int,
new_user_data: user_schemas.UserUpdate,
current_user: Annotated[DbUser, Depends(super_admin)],
Expand Down

0 comments on commit 3937b97

Please sign in to comment.