Skip to content

Commit c2e64c2

Browse files
committed
💎 Bump version to 8.0.12
2 parents 33a4f06 + 9d972e8 commit c2e64c2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ var jsonObject = {
2828
// Modify the url or config here
2929
jsonObject.url = url;
3030
if(!config || !config.method) {
31-
//TO-DO: set method to GET!
3231
jsonObject.method = 'GET';
3332
}
3433
if(config) {
@@ -51,7 +50,7 @@ var jsonObject = {
5150
response: function (response) {
5251
// Modify the reponse object;
5352
jsonObject.responseCode = response.status;
54-
jsonObject.responseBody = response._bodyText;
53+
jsonObject.responseBody = response._bodyText ? response._bodyText : '';
5554
if (Platform.OS === 'android') {
5655
Instabug.networkLog(JSON.stringify(jsonObject));
5756
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "instabug-reactnative",
3-
"version": "8.0.11",
3+
"version": "8.0.12",
44
"description": "React Native plugin for integrating the Instabug SDK",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)