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 21752a6 commit a2ef47aCopy full SHA for a2ef47a
web/libs/datamanager/src/utils/api-proxy/index.js
@@ -243,7 +243,7 @@ export class APIProxy {
243
try {
244
const responseData =
245
rawResponse.status !== 204
246
- ? JSON.parse(this.alwaysExpectJSON && alwaysExpectJSON ? responseText : responseText || "{}")
+ ? parseJson(this.alwaysExpectJSON && alwaysExpectJSON ? responseText : responseText || "{}")
247
: { ok: true };
248
249
if (methodSettings.convert instanceof Function) {
0 commit comments