D1APP-43 bug fix

This commit is contained in:
MohammadTaha Basiri 2022-01-15 15:58:56 +03:30
parent f692eb77fb
commit 33d9971747
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class AuthenticationState extends CoreProvier {
if (service.isSuccess && service.result['loggedIn']) { if (service.isSuccess && service.result['loggedIn']) {
final token = service.result['token']; final token = service.result['token'];
appState = AppState.idle; appState = AppState.idle;
await userProvider.setAndGetToken(token: token); await userProvider.setAndGetToken(newToken: token);
RequestService.token = token; RequestService.token = token;
await userProvider.getUserInfo(); await userProvider.getUserInfo();
return token; return token;