diff --git a/Sources/XXClient/Functions/NewUdManagerFromBackup.swift b/Sources/XXClient/Functions/NewUdManagerFromBackup.swift index 7b68fb8a2faa41d53eaa01879e74a4442b13d3ec..3f94037abbb4c143943e76aff57f5e67f1f3c4ce 100644 --- a/Sources/XXClient/Functions/NewUdManagerFromBackup.swift +++ b/Sources/XXClient/Functions/NewUdManagerFromBackup.swift @@ -3,6 +3,16 @@ import XCTestDynamicOverlay public struct NewUdManagerFromBackup { public struct Params: Equatable { + public init( + e2eId: Int, + environment: UDEnvironment + ) { + self.e2eId = e2eId + self.cert = environment.cert + self.contact = environment.contact + self.address = environment.address + } + public init( e2eId: Int, cert: Data,