Skip to content

Commit

Permalink
WAT-3825 - Pass full response on non 2xx response codes - refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia-marchenko committed Sep 26, 2024
1 parent a2f41a5 commit 085d7eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/http-api/src/request-function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function requestFunction(
headers: request.headers,
json: request.json,
gzip: request.gzip,
simple: typeof request.simple !== 'undefined' ? request.simple : true,
simple: request.simple !== false,
jar: cookieJar,
resolveWithFullResponse: true,
};
Expand Down

0 comments on commit 085d7eb

Please sign in to comment.