From b17daa63ed8a302e7de86e1747c6b208b3dd9d55 Mon Sep 17 00:00:00 2001 From: Dariusz Rybicki <dariusz@elixxir.io> Date: Wed, 3 Aug 2022 23:53:44 +0100 Subject: [PATCH] Update LookupUD functor --- Sources/ElixxirDAppsSDK/Functors/LookupUD.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/ElixxirDAppsSDK/Functors/LookupUD.swift b/Sources/ElixxirDAppsSDK/Functors/LookupUD.swift index c144f6a0..5bd977c6 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 ) -- GitLab