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

Update LoadOrNewUserDiscovery functor

parent e3b29c0a
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!20Update Bindings.xcframework
This commit is part of merge request !20. Comments created here will be created in the context of that merge request.
...@@ -2,13 +2,13 @@ import Bindings ...@@ -2,13 +2,13 @@ import Bindings
import XCTestDynamicOverlay import XCTestDynamicOverlay
public struct LoadOrNewUserDiscovery { public struct LoadOrNewUserDiscovery {
public var run: (Int, UdNetworkStatus, String, Data) throws -> UserDiscovery public var run: (Int, UdNetworkStatus, String?, Data?) throws -> UserDiscovery
public func callAsFunction( public func callAsFunction(
e2eId: Int, e2eId: Int,
follower: UdNetworkStatus, follower: UdNetworkStatus,
username: String, username: String?,
registrationValidationSignature: Data registrationValidationSignature: Data?
) throws -> UserDiscovery { ) throws -> UserDiscovery {
try run(e2eId, follower, username, registrationValidationSignature) try run(e2eId, follower, username, registrationValidationSignature)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment