refac: role update ui
This commit is contained in:
1 parent
343dac91c9
commit
e41e375aab
5 files changed
+38
-58
No files matched your search
@@ -393,6 +393,7 @@ export const updateUserById = async (token: string, userId: string, user: UserUp
|
||||
},
|
||||
body: JSON.stringify({
|
||||
profile_image_url: user.profile_image_url,
|
||||
role: user.role,
|
||||
email: user.email,
|
||||
name: user.name,
|
||||
password: user.password !== '' ? user.password : undefined
|
||||
|
||||
Reference in new issue
Block a user