File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments