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

Use Contact model in AsyncRequestRestlike

parent 838b5bed
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 AsyncRequestRestlike {
public var run: (Int, Data, RestlikeMessage, Data, RestlikeCallback) throws -> Void
public var run: (Int, Contact, RestlikeMessage, Data, RestlikeCallback) throws -> Void
public func callAsFunction(
e2eId: Int,
recipient: Data,
recipient: Contact,
request: RestlikeMessage,
paramsJSON: Data,
callback: RestlikeCallback
......@@ -20,7 +20,7 @@ extension AsyncRequestRestlike {
var error: NSError?
let result = BindingsAsyncRequestRestLike(
e2dId,
recipient,
recipient.data,
try request.encode(),
paramsJSON,
callback.makeBindingsRestlikeCallback(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment