Skip to content

Commit bd0036d

Browse files
committed
refactor: remove some debug log
1 parent dee899d commit bd0036d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/shared/interceptors/response.interceptor.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export class ResponseInterceptor implements HttpInterceptor {
2020
) : Observable<HttpEvent<any>> {
2121

2222
return next.handle(request).pipe(tap(event => {
23-
if (event.type === HttpEventType.Response) {
24-
console.log('response received');
25-
}
23+
// if (event.type === HttpEventType.Response) {
24+
// console.debug('response received');
25+
// }
2626
}, (error : HttpErrorResponse) => {
2727
console.error(error);
2828

@@ -39,7 +39,7 @@ export class ResponseInterceptor implements HttpInterceptor {
3939
duration: 2000,
4040
});
4141
}
42-
if(this.loadingSvc.isLoading === true){
42+
if (this.loadingSvc.isLoading === true){
4343
this.loadingSvc.isLoading = false;
4444
}
4545
}));

0 commit comments

Comments
 (0)