MCPcopy
hub / github.com/1Panel-dev/MaxKB / editUserGroupList

Function editUserGroupList

ui/src/api/system-resource-management/chat-user.ts:21–23  ·  view source on GitHub ↗
(resource, data, loading)

Source from the content-addressed store, hash-verified

19 */
20const editUserGroupList: (resource: any, data: { user_group_id: string, is_auth: boolean }[], loading?: Ref<boolean>) =>
21 Promise<Result<any>> = (resource, data, loading) => {
22 return put(`${prefix}/${resource.resource_type}/${resource.resource_id}/user_group`, data, undefined, loading)
23 }
24
25/**
26 * 获取共享知识库用户组的用户列表

Callers

nothing calls this directly

Calls 1

putFunction · 0.90

Tested by

no test coverage detected