From 33d99717476f598941e60c2b3d0f2741ba8a90ed Mon Sep 17 00:00:00 2001 From: MohammadTaha Basiri Date: Sat, 15 Jan 2022 15:58:56 +0330 Subject: [PATCH] D1APP-43 bug fix --- lib/pages/authentication/authentication_state.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/authentication/authentication_state.dart b/lib/pages/authentication/authentication_state.dart index 11e6eb2..7894f4e 100644 --- a/lib/pages/authentication/authentication_state.dart +++ b/lib/pages/authentication/authentication_state.dart @@ -47,7 +47,7 @@ class AuthenticationState extends CoreProvier { if (service.isSuccess && service.result['loggedIn']) { final token = service.result['token']; appState = AppState.idle; - await userProvider.setAndGetToken(token: token); + await userProvider.setAndGetToken(newToken: token); RequestService.token = token; await userProvider.getUserInfo(); return token;