From 881b9083110f0f85ebfdbbb496120fac54e4cf6d Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Thu, 28 May 2026 23:51:26 +0700 Subject: [PATCH] feat(client): remove unused tap operator --- apps/client/src/app/core/http-response.interceptor.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/client/src/app/core/http-response.interceptor.ts b/apps/client/src/app/core/http-response.interceptor.ts index 5c7d57070..f8c52b15a 100644 --- a/apps/client/src/app/core/http-response.interceptor.ts +++ b/apps/client/src/app/core/http-response.interceptor.ts @@ -22,7 +22,7 @@ import { Router } from '@angular/router'; import { StatusCodes } from 'http-status-codes'; import ms from 'ms'; import { Observable, throwError } from 'rxjs'; -import { catchError, tap } from 'rxjs/operators'; +import { catchError } from 'rxjs/operators'; @Injectable() export class HttpResponseInterceptor implements HttpInterceptor { @@ -44,9 +44,6 @@ export class HttpResponseInterceptor implements HttpInterceptor { next: HttpHandler ): Observable> { return next.handle(request).pipe( - tap((event: HttpEvent) => { - return event; - }), catchError((error: HttpErrorResponse) => { if (error.status === StatusCodes.FORBIDDEN) { if (!this.snackBarRef) {