MCPcopy Create free account
hub / github.com/aetherstate/GODMOD3.AI / jsonResponse

Function jsonResponse

functions/api/telemetry.ts:363–371  ·  view source on GitHub ↗
(data: unknown, status: number)

Source from the content-addressed store, hash-verified

361}
362
363function jsonResponse(data: unknown, status: number): Response {
364 return new Response(JSON.stringify(data), {
365 status,
366 headers: {
367 'Content-Type': 'application/json',
368 ...CORS_HEADERS,
369 },
370 })
371}

Callers 1

onRequestPostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected