File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -404,7 +404,8 @@ private void Config()
404
404
{
405
405
updatedJsonResponse = new Dictionary < string , object > ( attribution . JsonResponse ) ;
406
406
updatedJsonResponse . Remove ( "fb_install_referrer" ) ;
407
- if ( updatedJsonResponse . TryGetValue ( "cost_amount" , out var costAmount ) && costAmount is IConvertible )
407
+ object costAmount ;
408
+ if ( updatedJsonResponse . TryGetValue ( "cost_amount" , out costAmount ) && costAmount is IConvertible )
408
409
{
409
410
updatedJsonResponse [ "cost_amount" ] = string . Format ( "{0:0.00}" , System . Convert . ToDouble ( costAmount ) ) ;
410
411
}
@@ -1023,7 +1024,8 @@ private void AttributionGetter()
1023
1024
{
1024
1025
updatedJsonResponse = new Dictionary < string , object > ( attribution . JsonResponse ) ;
1025
1026
updatedJsonResponse . Remove ( "fb_install_referrer" ) ;
1026
- if ( updatedJsonResponse . TryGetValue ( "cost_amount" , out var costAmount ) && costAmount is IConvertible )
1027
+ object costAmount ;
1028
+ if ( updatedJsonResponse . TryGetValue ( "cost_amount" , out costAmount ) && costAmount is IConvertible )
1027
1029
{
1028
1030
updatedJsonResponse [ "cost_amount" ] = string . Format ( "{0:0.00}" , System . Convert . ToDouble ( costAmount ) ) ;
1029
1031
}
You can’t perform that action at this time.
0 commit comments