v0.10.7 UI rule changes
This commit is contained in:
@@ -141,6 +141,7 @@ export const api = {
|
||||
deleteMultiGroupDm: (id) => req('DELETE', `/usergroups/multigroup/${id}`),
|
||||
// U2U Restrictions
|
||||
getGroupRestrictions: (id) => req('GET', `/usergroups/${id}/restrictions`),
|
||||
removeUserGroupMember: (groupId, userId) => req('DELETE', `/usergroups/${groupId}/members/${userId}`),
|
||||
setGroupRestrictions: (id, blockedGroupIds) => req('PUT', `/usergroups/${id}/restrictions`, { blockedGroupIds }),
|
||||
// Multi-group DMs
|
||||
getMultiGroupDms: () => req('GET', '/usergroups/multigroup'),
|
||||
@@ -149,6 +150,7 @@ export const api = {
|
||||
deleteMultiGroupDm: (id) => req('DELETE', `/usergroups/multigroup/${id}`),
|
||||
// U2U Restrictions
|
||||
getGroupRestrictions: (id) => req('GET', `/usergroups/${id}/restrictions`),
|
||||
removeUserGroupMember: (groupId, userId) => req('DELETE', `/usergroups/${groupId}/members/${userId}`),
|
||||
setGroupRestrictions: (id, blockedGroupIds) => req('PUT', `/usergroups/${id}/restrictions`, { blockedGroupIds }),
|
||||
uploadLogo: (file) => {
|
||||
const form = new FormData(); form.append('logo', file);
|
||||
|
||||
Reference in New Issue
Block a user