MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / makeUpstreamResponse

Function makeUpstreamResponse

apps/web/src/app/api/exa/[...path]/route.test.ts:69–74  ·  view source on GitHub ↗
(body: unknown, headers?: Record<string, string>, status = 200)

Source from the content-addressed store, hash-verified

67 user: { id } as User,
68 authFailedResponse: null,
69 organizationId,
70 });
71}
72
73function makeUpstreamResponse(body: unknown, headers?: Record<string, string>, status = 200) {
74 return new Response(JSON.stringify(body), {
75 status,
76 headers: { 'content-type': 'application/json', ...headers },
77 });

Callers 1

route.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected