sync with main branch
This commit is contained in:
parent
1821e27692
commit
0520056e43
|
@ -85,7 +85,7 @@ const EditUserModal = ({
|
||||||
{}
|
{}
|
||||||
);
|
);
|
||||||
const res = await client
|
const res = await client
|
||||||
.mutation(UpdateUser, { params: updatedUserData })
|
.mutation(UpdateUser, { params: { ...updatedUserData, id: userData.id } })
|
||||||
.toPromise();
|
.toPromise();
|
||||||
if (res.error) {
|
if (res.error) {
|
||||||
toast({
|
toast({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user