MCPcopy Index your code
hub / github.com/callstack/agent-device / jsonResponse

Function jsonResponse

src/cli/__tests__/auth-session.test.ts:295–300  ·  view source on GitHub ↗
(body: unknown)

Source from the content-addressed store, hash-verified

293});
294
295function jsonResponse(body: unknown): Response {
296 return new Response(JSON.stringify(body), {
297 status: 200,
298 headers: { 'content-type': 'application/json' },
299 });
300}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected