refac: role update ui

This commit is contained in:
Timothy Jaeryang Baek committed 2025-05-31 15:00:27 +04:00
1 parent 343dac91c9
commit e41e375aab
5 files changed
+38 -58

No files matched your search

+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