diff --git a/deps/ziti-tunnel-sdk-c b/deps/ziti-tunnel-sdk-c index 0cb7c78..18bf474 160000 --- a/deps/ziti-tunnel-sdk-c +++ b/deps/ziti-tunnel-sdk-c @@ -1 +1 @@ -Subproject commit 0cb7c78ff2821f6092d2b4ef5209601a7d6d73ad +Subproject commit 18bf4744d7cbeb2eb769dc22a58746c89ae562d9 diff --git a/lib/ZitiMfaAuthQuery.swift b/lib/ZitiMfaAuthQuery.swift index 475e88d..665f08f 100644 --- a/lib/ZitiMfaAuthQuery.swift +++ b/lib/ZitiMfaAuthQuery.swift @@ -22,7 +22,7 @@ import CZitiPrivate private static let log = ZitiLog(ZitiMfaAuthQuery.self) /// query type - public var typeId:String? + public var typeId:UInt32? /// MFA provider public var provider:String? @@ -45,7 +45,7 @@ import CZitiPrivate init(_ cAuthQuery:UnsafePointer) { super.init() - typeId = toStr(cAuthQuery.pointee.type_id) + typeId = cAuthQuery.pointee.type_id.rawValue provider = toStr(cAuthQuery.pointee.provider) httpMethod = toStr(cAuthQuery.pointee.http_method) httpUrl = toStr(cAuthQuery.pointee.http_url)