MCPcopy Create free account
hub / github.com/async-labs/async / checkPermission

Method checkPermission

api/server/models/Chat.ts:66–66  ·  view source on GitHub ↗
({
    userId,
    teamId,
    chat,
  }: {
    userId: string;
    teamId: string;
    chat?: IChatDocument;
  })

Source from the content-addressed store, hash-verified

64 }): Promise<{ foundMessages: IMessageDocument[]; contextMessages: IMessageDocument[] }>;
65
66 checkPermission({
67 userId,
68 teamId,
69 chat,

Callers

nothing calls this directly

Implementers 1

ChatClassapi/server/models/Chat.ts

Calls

no outgoing calls

Tested by

no test coverage detected