From a9af1f9d2977621f1be929b755d7de32e73599a5 Mon Sep 17 00:00:00 2001 From: Sinan997 Date: Fri, 3 May 2024 14:53:13 +0300 Subject: [PATCH] remove unused service from handler --- .../src/lib/services/authentication-error-handler.service.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/npm/ng-packs/packages/theme-shared/src/lib/services/authentication-error-handler.service.ts b/npm/ng-packs/packages/theme-shared/src/lib/services/authentication-error-handler.service.ts index a3744f1ce7..44dab7e0a1 100644 --- a/npm/ng-packs/packages/theme-shared/src/lib/services/authentication-error-handler.service.ts +++ b/npm/ng-packs/packages/theme-shared/src/lib/services/authentication-error-handler.service.ts @@ -3,13 +3,11 @@ import { AuthService, ConfigStateService } from '@abp/ng.core'; import { HttpErrorResponse } from '@angular/common/http'; import { CustomHttpErrorHandlerService } from '../models/common'; import { CUSTOM_HTTP_ERROR_HANDLER_PRIORITY } from '../constants/default-errors'; -import { Router } from '@angular/router'; @Injectable({ providedIn: 'root' }) export class AbpAuthenticationErrorHandler implements CustomHttpErrorHandlerService { readonly priority = CUSTOM_HTTP_ERROR_HANDLER_PRIORITY.veryHigh; protected readonly authService = inject(AuthService); - protected readonly router = inject(Router); protected readonly configStateService = inject(ConfigStateService); canHandle(error: unknown): boolean {