diff --git a/Sources/ElixxirDAppsSDK/Functors/LookupUD.swift b/Sources/ElixxirDAppsSDK/Functors/LookupUD.swift index c144f6a03ecfc6e41444b270495ae533bc145eab..5bd977c66c5211dc42d1e041aba08ac8f00bdc7f 100644 --- a/Sources/ElixxirDAppsSDK/Functors/LookupUD.swift +++ b/Sources/ElixxirDAppsSDK/Functors/LookupUD.swift @@ -7,24 +7,24 @@ public struct LookupUD { public func callAsFunction( e2eId: Int, udContact: Data, - udId: Data, + lookupId: Data, singleRequestParamsJSON: Data = GetSingleUseParams.liveDefault(), callback: UdLookupCallback ) throws -> SingleUseSendReport { - try run(e2eId, udContact, udId, singleRequestParamsJSON, callback) + try run(e2eId, udContact, lookupId, singleRequestParamsJSON, callback) } } extension LookupUD { public static let live = LookupUD { - e2eId, udContact, udId, singleRequestParamsJSON, callback in + e2eId, udContact, lookupId, singleRequestParamsJSON, callback in var error: NSError? let reportData = BindingsLookupUD( e2eId, udContact, callback.makeBindingsUdLookupCallback(), - udId, + lookupId, singleRequestParamsJSON, &error )