fix : login and route

This commit is contained in:
2025-05-18 09:32:43 +03:30
parent 6843973c4f
commit f7ea9f3a19
5 changed files with 13 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ import 'package:rasadyar_core/core.dart';
import '../../presentation/routes/pages.dart';
class AuthMiddleware extends GetMiddleware {
var tokenService = diAuth.get<TokenStorageService>();
var tokenService = Get.find<TokenStorageService>();
@override
RouteSettings? redirect(String? route) {