Manos Chorianopoulos

consumerIntegrationWithSuccessBlock fix

...@@ -1059,8 +1059,6 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1059,8 +1059,6 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1059 { 1059 {
1060 NSMutableDictionary* data = [[NSMutableDictionary alloc] init]; 1060 NSMutableDictionary* data = [[NSMutableDictionary alloc] init];
1061 1061
1062 - [data setValue:@"consumer_extra_data" forKey:@"method"];
1063 -
1064 if (nonTelco && ![nonTelco isEqual:@NO]) { 1062 if (nonTelco && ![nonTelco isEqual:@NO]) {
1065 [data setValue:nonTelco forKey:@"nonTelco"]; 1063 [data setValue:nonTelco forKey:@"nonTelco"];
1066 } else { 1064 } else {
...@@ -1088,6 +1086,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1088,6 +1086,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1088 NSMutableDictionary* consumerData = [[NSMutableDictionary alloc] init]; 1086 NSMutableDictionary* consumerData = [[NSMutableDictionary alloc] init];
1089 [consumerData setValue:@"integration" forKey:@"action"]; 1087 [consumerData setValue:@"integration" forKey:@"action"];
1090 1088
1089 + [consumerData setValue:@"consumer_extra_data" forKey:@"method"];
1090 +
1091 if(data && ![data isEqual:@{}]) { 1091 if(data && ![data isEqual:@{}]) {
1092 [consumerData setValue:data forKey:@"data"]; 1092 [consumerData setValue:data forKey:@"data"];
1093 } 1093 }
......