(payload: unknown)
| 664 | } |
| 665 | |
| 666 | function jsonResponse(payload: unknown): Response { |
| 667 | return withCors(Response.json(payload)) |
| 668 | } |
| 669 | |
| 670 | function emptyResponse(status: number, headers?: Record<string, string>): Response { |
| 671 | return withCors(new Response(null, { headers, status })) |
no test coverage detected