MCPcopy Create free account
hub / github.com/msgbyte/tailchat / applyGroupInviteCode

Function applyGroupInviteCode

apps/cli/src/commands/benchmark/register.ts:102–116  ·  view source on GitHub ↗
(
  url: string,
  token: string,
  inviteCode: string
)

Source from the content-addressed store, hash-verified

100}
101
102async function applyGroupInviteCode(
103 url: string,
104 token: string,
105 inviteCode: string
106) {
107 await got.post(`${url}/api/group/invite/applyInvite`, {
108 json: {
109 code: inviteCode,
110 },
111 retry: 5,
112 headers: {
113 'X-Token': token,
114 },
115 });
116}

Callers 1

handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected