We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e04bca8 commit 3f8ea68Copy full SHA for 3f8ea68
Sources/eudiWalletOidcIos/Service/CredentialRevocationUtil.swift
@@ -59,6 +59,7 @@ public class CredentialRevocationUtil {
59
let (data, _) = try await URLSession.shared.data(for: request)
60
let stringData = String.init(data: data, encoding: .utf8)
61
let split = stringData?.split(separator: ".")
62
+ guard split?.count ?? 0 > 1 else { return [] }
63
let jsonString = "\(split?[1] ?? "")".decodeBase64() ?? ""
64
let statusDict = UIApplicationUtils.shared.convertStringToDictionary(text: jsonString)
65
let statusListDict = statusDict?["status_list"] as? [String: Any]
0 commit comments