File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -376,8 +376,13 @@ private void Config()
376
376
{
377
377
updatedJsonResponse [ "cost_amount" ] = string . Format ( "{0:0.00}" , System . Convert . ToDouble ( costAmount ) ) ;
378
378
}
379
- #endif
380
379
_testLibrary . AddInfoToSend ( "json_response" , JsonConvert . SerializeObject ( updatedJsonResponse ) ) ;
380
+ #else
381
+ if ( attribution . JsonResponse != null )
382
+ {
383
+ _testLibrary . AddInfoToSend ( "json_response" , attribution . GetJsonResponseAsString ( ) ) ;
384
+ }
385
+ #endif
381
386
_testLibrary . SendInfoToServer ( localExtraPath ) ;
382
387
} ) ;
383
388
}
@@ -976,8 +981,13 @@ private void AttributionGetter()
976
981
{
977
982
updatedJsonResponse [ "cost_amount" ] = string . Format ( "{0:0.00}" , System . Convert . ToDouble ( costAmount ) ) ;
978
983
}
979
- #endif
980
984
_testLibrary . AddInfoToSend ( "json_response" , JsonConvert . SerializeObject ( updatedJsonResponse ) ) ;
985
+ #else
986
+ if ( attribution . JsonResponse != null )
987
+ {
988
+ _testLibrary . AddInfoToSend ( "json_response" , attribution . GetJsonResponseAsString ( ) ) ;
989
+ }
990
+ #endif
981
991
_testLibrary . SendInfoToServer ( localExtraPath ) ;
982
992
} ) ;
983
993
}
You can’t perform that action at this time.
0 commit comments