Skip to content

Commit 21e19b3

Browse files
authored
chore: Minor reference change
1 parent 949fcfb commit 21e19b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/https/request.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class HttpsResponseLegacy implements IHttpsResponseLegacy {
177177
return data;
178178
}
179179
this.stringResponse = data;
180-
this.jsonResponse = this.stringResponse ? parseJSON(data) : null;
180+
this.jsonResponse = data ? parseJSON(data) : null;
181181
return this.jsonResponse as T;
182182
}
183183
toJSONAsync<T>() {

0 commit comments

Comments
 (0)