Skip to content
Snippets Groups Projects
Commit 0d9b21ef authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Use Contact model in LookupUD

parent 6c43e710
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!42Update Bindings
......@@ -2,11 +2,11 @@ import Bindings
import XCTestDynamicOverlay
public struct LookupUD {
public var run: (Int, Data, Data, Data, UdLookupCallback) throws -> SingleUseSendReport
public var run: (Int, Contact, Data, Data, UdLookupCallback) throws -> SingleUseSendReport
public func callAsFunction(
e2eId: Int,
udContact: Data,
udContact: Contact,
lookupId: Data,
singleRequestParamsJSON: Data = GetSingleUseParams.liveDefault(),
callback: UdLookupCallback
......@@ -22,7 +22,7 @@ extension LookupUD {
var error: NSError?
let reportData = BindingsLookupUD(
e2eId,
udContact,
udContact.data,
callback.makeBindingsUdLookupCallback(),
lookupId,
singleRequestParamsJSON,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment