We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ac730d commit 0b01bd3Copy full SHA for 0b01bd3
templates/react-native/src/client.ts.twig
@@ -432,7 +432,7 @@ class Client {
432
433
if (400 <= response.status) {
434
let responseText = '';
435
- if (response.headers.get('content-type')?.includes('application/json') || responseType === 'arrayBuffer') {
+ if (response.headers.get('content-type')?.includes('application/json')) {
436
responseText = JSON.stringify(data);
437
} else {
438
responseText = data?.message;
0 commit comments