diff --git a/src/app/utils/Interceptor.service.ts b/src/app/utils/Interceptor.service.ts index 698a14c..2f7ca2a 100644 --- a/src/app/utils/Interceptor.service.ts +++ b/src/app/utils/Interceptor.service.ts @@ -6,15 +6,15 @@ import {catchError, finalize} from 'rxjs/operators'; import {mergeMap} from 'rxjs/operators'; import {Observable} from 'rxjs'; import {NzMessageService} from "ng-zorro-antd/message"; -import {LocalStorageService} from "./localStorage.service"; import {USER_TOKEN} from "../data/login/localStorage.namespace"; +import {BrowserStorageService} from "./localStorage.service"; @Injectable() export class InterceptorService implements HttpInterceptor { constructor( private message: NzMessageService, - private storage: LocalStorageService, + private storage: BrowserStorageService, ) { } intercept(req: HttpRequest, next: HttpHandler): Observable> {