Skip to content

Commit 0b01bd3

Browse files
committed
fix: build error
1 parent 7ac730d commit 0b01bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/react-native/src/client.ts.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ class Client {
432432

433433
if (400 <= response.status) {
434434
let responseText = '';
435-
if (response.headers.get('content-type')?.includes('application/json') || responseType === 'arrayBuffer') {
435+
if (response.headers.get('content-type')?.includes('application/json')) {
436436
responseText = JSON.stringify(data);
437437
} else {
438438
responseText = data?.message;

0 commit comments

Comments
 (0)