From 2bc66542a6032b7b54cc3a3acec9737af6618031 Mon Sep 17 00:00:00 2001 From: Dan Percic Date: Mon, 25 Jul 2022 15:36:59 +0300 Subject: [PATCH] comment console logs --- src/lib/caching/http-cache-interceptor.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/caching/http-cache-interceptor.ts b/src/lib/caching/http-cache-interceptor.ts index a76b50d..06d4a90 100644 --- a/src/lib/caching/http-cache-interceptor.ts +++ b/src/lib/caching/http-cache-interceptor.ts @@ -14,11 +14,11 @@ export class HttpCacheInterceptor implements HttpInterceptor { } return this._cacheApiService.getCachedRequest(req).pipe( - tap(ok => { - console.log('[CACHE-API] got from cache', ok); - }), + // tap(ok => { + // console.log('[CACHE-API] got from cache', ok); + // }), catchError(cacheError => { - console.log('[CACHE-API] Cache fetch error', cacheError, req.url); + // console.log('[CACHE-API] Cache fetch error', cacheError, req.url); return this.sendRequest(req, next); }), );