MCPcopy Index your code
hub / github.com/simstudioai/sim / createForbiddenResponse

Function createForbiddenResponse

apps/sim/lib/copilot/request/http.ts:38–40  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

36}
37
38export function createForbiddenResponse(message: string): NextResponse {
39 return NextResponse.json({ error: message }, { status: 403 })
40}
41
42export function createNotFoundResponse(message: string): NextResponse {
43 return NextResponse.json({ error: message }, { status: 404 })

Callers 4

route.tsFile · 0.90
route.tsFile · 0.90
GETFunction · 0.90
route.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected