fix : token expire
This commit is contained in:
@@ -107,9 +107,5 @@ class AppInterceptor extends Interceptor {
|
||||
//TODO
|
||||
void _handleRefreshFailure() {
|
||||
ApiHandler.cancelAllRequests("Token refresh failed");
|
||||
|
||||
if (Get.currentRoute != '/Auth') {
|
||||
Get.offAllNamed('/Auth', arguments: authArguments ?? 'Module.chicken');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user