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;