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

Use UDEnvironment with NewOrLoadUd.Params

parent cbffc477
No related branches found
No related tags found
2 merge requests!118User Discovery Environment,!102Release 1.0.0
This commit is part of merge request !118. Comments created here will be created in the context of that merge request.
......@@ -3,6 +3,20 @@ import XCTestDynamicOverlay
public struct NewOrLoadUd {
public struct Params: Equatable {
public init(
e2eId: Int,
username: String?,
registrationValidationSignature: Data?,
environment: UDEnvironment
) {
self.e2eId = e2eId
self.username = username
self.registrationValidationSignature = registrationValidationSignature
self.cert = environment.cert
self.contact = environment.contact
self.address = environment.address
}
public init(
e2eId: Int,
username: String?,
......
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