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

Function json

apps/cloud/src/auth/admin-mfa-routes.ts:26–27  ·  view source on GitHub ↗
(body: unknown, status = 200)

Source from the content-addressed store, hash-verified

24 sameSite: "strict" as const,
25};
26const json = (body: unknown, status = 200) =>
27 HttpServerResponse.jsonUnsafe(body, { status, headers: { "cache-control": "no-store" } });
28
29const handler = (action: "status" | "start" | "verify" | "cancel" | "lock") =>
30 Effect.gen(function* () {

Callers 2

handlerFunction · 0.70
executor-schema.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected