We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b862baa commit 1a4017cCopy full SHA for 1a4017c
src/app/pending-interceptor.service.ts
@@ -41,9 +41,9 @@ export class PendingInterceptorService implements HttpInterceptor {
41
}
42
43
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
44
- const shouldByPass = this.shouldBypass(req.url);
+ const shouldBypass = this.shouldBypass(req.url);
45
46
- if (!shouldByPass) {
+ if (!shouldBypass) {
47
this._pendingRequests++;
48
49
if (1 === this._pendingRequests) {
@@ -58,7 +58,7 @@ export class PendingInterceptorService implements HttpInterceptor {
58
return Observable.throw(error);
59
})
60
.finally(() => {
61
62
this._pendingRequests--;
63
64
if (0 === this._pendingRequests) {
0 commit comments