mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 20:36:27 +00:00
Migrate Items and UserSettings components to new client API
This commit is contained in:
@@ -50,7 +50,7 @@ const UserInformation = () => {
|
||||
|
||||
const mutation = useMutation({
|
||||
mutationFn: (data: UserUpdateMe) =>
|
||||
UsersService.updateUserMe({ requestBody: data }),
|
||||
UsersService.updateUserMe({ body: data }),
|
||||
onSuccess: () => {
|
||||
showSuccessToast("User updated successfully")
|
||||
toggleEditMode()
|
||||
|
||||
Reference in New Issue
Block a user