MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / signUp

Function signUp

apps/host-selfhost/src/admin/invites.node.test.ts:21–28  ·  view source on GitHub ↗
(body: Record<string, unknown>)

Source from the content-addressed store, hash-verified

19const BASE = "http://localhost:4788";
20
21const signUp = (body: Record<string, unknown>) =>
22 handler(
23 new Request(`${BASE}/api/auth/sign-up/email`, {
24 method: "POST",
25 headers: { "content-type": "application/json" },
26 body: JSON.stringify(body),
27 }),
28 );
29
30const inviteStatus = async (code: string): Promise<boolean> => {
31 const response = await handler(

Callers 1

Calls 1

handlerFunction · 0.50

Tested by

no test coverage detected