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

Function generateCode

server/models/group/invite.ts:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14import promiseRetry from 'promise-retry';
15
16function generateCode() {
17 return nanoid(8);
18}
19
20export class GroupInvite extends TimeStamps implements Base {
21 _id: Types.ObjectId;

Callers 2

GroupInviteClass · 0.85
createGroupInviteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected