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 949fcfb commit 21e19b3Copy full SHA for 21e19b3
src/https/request.ios.ts
@@ -177,7 +177,7 @@ class HttpsResponseLegacy implements IHttpsResponseLegacy {
177
return data;
178
}
179
this.stringResponse = data;
180
- this.jsonResponse = this.stringResponse ? parseJSON(data) : null;
+ this.jsonResponse = data ? parseJSON(data) : null;
181
return this.jsonResponse as T;
182
183
toJSONAsync<T>() {
0 commit comments