MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / CreateMember

Function CreateMember

ui/src/api/workspace/role.ts:28–30  ·  view source on GitHub ↗
(role_id, data, loading)

Source from the content-addressed store, hash-verified

26 data: { members: CreateMemberParamsItem[] },
27 loading?: Ref<boolean>,
28) => Promise<Result<any>> = (role_id, data, loading) => {
29 return post(`${prefix}/${role_id}/add_member`, data, undefined, loading)
30}
31
32/**
33 * 获取角色成员列表

Callers

nothing calls this directly

Calls 1

postFunction · 0.90

Tested by

no test coverage detected