Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-09-29 19:05:42 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3cf9e2328710785c86b585d59ab977c9331ab9c9
3cf9e232
1 parent
0fb6764e
filter msisdnList blank numbers
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
3cf9e23
...
...
@@ -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
{
...
...
Please
register
or
login
to post a comment