Skip to content

Commit 5e240dd

Browse files
authored
fix: api client not working for errored requests (#107)
1 parent 7554389 commit 5e240dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/actions/makeApiClientRequest.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const makeApiClientRequest = async ({ apiRequest }) => {
4040
data: body,
4141
responseType: "arraybuffer",
4242
withCredentials: false,
43+
validateStatus: false,
4344
});
4445
const responseTime = performance.now() - requestStartTime;
4546

0 commit comments

Comments
 (0)