fix : di for Role
This commit is contained in:
@@ -12,8 +12,9 @@ Future<void> main() async {
|
||||
await Hive.initFlutter();
|
||||
await setupPreInjection();
|
||||
Get.put(TokenStorageService());
|
||||
Get.put(LocalStorageService());
|
||||
await Get.find<TokenStorageService>().init();
|
||||
Get.put(LocalStorageService());
|
||||
await Get.find<LocalStorageService>().init();
|
||||
Get.put<AuthRouteResolver>(AppAuthRouteResolver());
|
||||
Get.put(AuthMiddleware());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user