fix : token expire

This commit is contained in:
2025-09-02 10:56:20 +03:30
parent 079b3ce78d
commit dfb9298097
5 changed files with 7 additions and 10 deletions

View File

@@ -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');
}
}
}