Skip to content

Commit

Permalink
make sure status is not lost on response object (Helicone#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
chitalian authored Jun 15, 2023
1 parent 0471e19 commit 04055af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions worker/src/lib/HeliconeProxyRequest/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export async function handleProxyRequest(
response: new Response(body, {
...response,
headers: responseHeaders,
status: response.status,
}),
},
error: null,
Expand Down

0 comments on commit 04055af

Please sign in to comment.