Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
import
promiseRetry from
'promise-retry'
;
15
16
function
generateCode() {
17
return
nanoid(8);
18
}
19
20
export
class
GroupInvite extends TimeStamps implements Base {
21
_id: Types.ObjectId;
Callers
2
GroupInvite
Class · 0.85
createGroupInvite
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected