From 3915363a68367fac0e7c9f35f0037458503b5427 Mon Sep 17 00:00:00 2001 From: Anton Yarmolenko <37253+rnr@users.noreply.github.com> Date: Thu, 9 Jan 2025 12:04:55 +0100 Subject: [PATCH] chore: fix after merge --- .../Authorization/Presentation/Login/SignInViewModel.swift | 2 +- .../Authorization/Presentation/SSO/SSOWebViewModel.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Authorization/Authorization/Presentation/Login/SignInViewModel.swift b/Authorization/Authorization/Presentation/Login/SignInViewModel.swift index a8e2da34..7fb59172 100644 --- a/Authorization/Authorization/Presentation/Login/SignInViewModel.swift +++ b/Authorization/Authorization/Presentation/Login/SignInViewModel.swift @@ -101,7 +101,7 @@ public class SignInViewModel: ObservableObject { let user = try await interactor.login(ssoToken: "") analytics.identify(id: "\(user.id)", username: user.username, email: user.email) analytics.userLogin(method: .password) - router.showMainOrWhatsNewScreen(sourceScreen: sourceScreen, authMethod: nil) + router.showMainOrWhatsNewScreen(sourceScreen: sourceScreen, postLoginData: nil) } catch let error { failure(error) } diff --git a/Authorization/Authorization/Presentation/SSO/SSOWebViewModel.swift b/Authorization/Authorization/Presentation/SSO/SSOWebViewModel.swift index 198766e2..a1bd5793 100644 --- a/Authorization/Authorization/Presentation/SSO/SSOWebViewModel.swift +++ b/Authorization/Authorization/Presentation/SSO/SSOWebViewModel.swift @@ -82,7 +82,7 @@ public class SSOWebViewModel: ObservableObject { let user = try await interactor.login(ssoToken: "\(payload).\(signature)") analytics.identify(id: "\(user.id)", username: user.username, email: user.email) analytics.userLogin(method: .SSO) - router.showMainOrWhatsNewScreen(sourceScreen: sourceScreen, authMethod: nil) + router.showMainOrWhatsNewScreen(sourceScreen: sourceScreen, postLoginData: nil) } catch let error { failure(error, authMethod: .SSO) }