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

Function delUserManage

ui/src/api/workspace/chat-user.ts:38–43  ·  view source on GitHub ↗
(
  user_id,
  loading,
)

Source from the content-addressed store, hash-verified

36 * @param 参数 user_id,
37 */
38const delUserManage: (user_id: string, loading?: Ref<boolean>) => Promise<Result<boolean>> = (
39 user_id,
40 loading,
41) => {
42 return del(`${prefix}/${user_id}`, undefined, {}, loading)
43}
44
45/**
46 * 创建用户

Callers

nothing calls this directly

Calls 1

delFunction · 0.90

Tested by

no test coverage detected