Manos Chorianopoulos

filter msisdnList blank numbers

......@@ -1857,7 +1857,8 @@ public class swiftApi {
profile_metadata_parsed = jsonArray;
self.profile_metadata = profile_metadata_parsed as? [String: Any]? ?? [String: Any]()
self.badge = profile_metadata_parsed["badge"] as? String? ?? ""
self.msisdnList = profile_metadata_parsed["msisdnList"] as? Array<String>? ?? []
let tempMsisdnList = profile_metadata_parsed["msisdnList"] as? Array<String>? ?? []
self.msisdnList = (tempMsisdnList ?? []).filter { $0 != "" }
self.answered = profile_metadata_parsed["answered"] as? Bool? ?? false
self.nonTelco = profile_metadata_parsed["nonTelco"] as? Bool? ?? false
} else {
......