refac: role update ui

This commit is contained in:
Timothy Jaeryang Baek
2025-05-31 15:00:27 +04:00
parent 343dac91c9
commit e41e375aab
5 changed files with 38 additions and 58 deletions
+1
View File
@@ -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