From 428ec2ab48206d70df057f458dc0585b7354fb31 Mon Sep 17 00:00:00 2001 From: Dariusz Rybicki <dariusz@elixxir.io> Date: Fri, 26 Aug 2022 13:31:59 +0100 Subject: [PATCH] Refactor NewUdManagerFromBackup --- Sources/XXClient/Functors/NewUdManagerFromBackup.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/XXClient/Functors/NewUdManagerFromBackup.swift b/Sources/XXClient/Functors/NewUdManagerFromBackup.swift index 454cc6aa..14f2b0e4 100644 --- a/Sources/XXClient/Functors/NewUdManagerFromBackup.swift +++ b/Sources/XXClient/Functors/NewUdManagerFromBackup.swift @@ -9,7 +9,7 @@ public struct NewUdManagerFromBackup { email: Fact?, phone: Fact?, cert: Data, - contactFile: Data, + contact: Data, address: String ) { self.e2eId = e2eId @@ -17,7 +17,7 @@ public struct NewUdManagerFromBackup { self.email = email self.phone = phone self.cert = cert - self.contactFile = contactFile + self.contact = contact self.address = address } @@ -26,7 +26,7 @@ public struct NewUdManagerFromBackup { public var email: Fact? public var phone: Fact? public var cert: Data - public var contactFile: Data + public var contact: Data public var address: String } @@ -50,7 +50,7 @@ extension NewUdManagerFromBackup { try params.email?.encode(), try params.phone?.encode(), params.cert, - params.contactFile, + params.contact, params.address, &error ) -- GitLab