Manos Chorianopoulos

fix consumerIntegration request

......@@ -1235,29 +1235,29 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
{
NSMutableDictionary* data = [[NSMutableDictionary alloc] init];
if (nonTelco && ![nonTelco isEqual:@NO]) {
// if (nonTelco && ![nonTelco isEqual:@NO]) {
[data setValue:nonTelco forKey:@"nonTelco"];
} else {
[data setValue:0 forKey:@"nonTelco"];
}
// } else {
// [data setValue:0 forKey:@"nonTelco"];
// }
if (acceptedConsent && ![acceptedConsent isEqual:@NO]) {
// if (acceptedConsent && ![acceptedConsent isEqual:@NO]) {
[data setValue:acceptedConsent forKey:@"acceptedConsent"];
} else {
[data setValue:0 forKey:@"acceptedConsent"];
}
// } else {
// [data setValue:0 forKey:@"acceptedConsent"];
// }
if (msisdnList && (msisdnList != nil) && ([msisdnList count] != 0)) {
// if (msisdnList && (msisdnList != nil) && ([msisdnList count] != 0)) {
[data setValue:msisdnList forKey:@"msisdnList"];
} else {
[data setValue:nil forKey:@"msisdnList"];
}
// } else {
// [data setValue:nil forKey:@"msisdnList"];
// }
if (guid && ![guid isEqual:@""]) {
// if (guid && ![guid isEqual:@""]) {
[data setValue:guid forKey:@"guid"];
} else {
[data setValue:@"" forKey:@"guid"];
}
// } else {
// [data setValue:@"" forKey:@"guid"];
// }
NSMutableDictionary* consumerData = [[NSMutableDictionary alloc] init];
[consumerData setValue:@"integration" forKey:@"action"];
......