mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 09:04:55 +00:00
change admin edit role modal to edit user (#7035)
change edit role modal to edit user
This commit is contained in:
@@ -34,6 +34,9 @@ const userProfile = provideUserProfile({
|
||||
getOrganizations: (userId) => client.labrinth.users_v2.getOrganizations(userId),
|
||||
getCollections: (userId) => client.labrinth.users_v2.getCollections(userId),
|
||||
patchUser: (userId, patch) => client.labrinth.users_v2.patch(userId, patch),
|
||||
changeAvatar: (userId, file, extension) =>
|
||||
client.labrinth.users_v2.changeIcon(userId, file, extension),
|
||||
deleteAvatar: (userId) => client.labrinth.users_v2.deleteIcon(userId),
|
||||
getBlockedUsers: () => client.labrinth.blocked_users_v3.list(),
|
||||
blockUser: (userId) => client.labrinth.blocked_users_v3.block(userId),
|
||||
unblockUser: (userId) => client.labrinth.blocked_users_v3.unblock(userId),
|
||||
|
||||
Reference in New Issue
Block a user