diff --git a/src/utils/net/http-response.ts b/src/utils/net/http-response.ts index 8286ebf..e5109c5 100644 --- a/src/utils/net/http-response.ts +++ b/src/utils/net/http-response.ts @@ -213,7 +213,7 @@ export class HttpResponse { headers.set("Content-Type", contentType); } - return new Response(data, { ...options, headers }) as NodeFetchResponse; + return new Response(data, { status: options?.status, statusText: options?.statusText, headers }) as NodeFetchResponse; } }