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

Use Contact in RequestRestlike

parent 428ec2ab
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 RequestRestlike {
public var run: (Int, Data, RestlikeMessage, Data) throws -> RestlikeMessage
public var run: (Int, Contact, RestlikeMessage, Data) throws -> RestlikeMessage
public func callAsFunction(
e2eId: Int,
recipient: Data,
recipient: Contact,
request: RestlikeMessage,
paramsJSON: Data
) throws -> RestlikeMessage {
......@@ -19,7 +19,7 @@ extension RequestRestlike {
var error: NSError?
let responseData = BindingsRequestRestLike(
e2dId,
recipient,
recipient.data,
try request.encode(),
paramsJSON,
&error
......
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