Skip to content

Commit 4600f50

Browse files
committed
Remove braces
1 parent f0fed3f commit 4600f50

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib/services/pending-requests-interceptor.service.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ export class PendingRequestsInterceptor implements HttpInterceptor {
9191
}
9292

9393
return next.handle(req).pipe(
94-
catchError((error: HttpErrorResponse) => {
95-
return throwError(error);
96-
}),
94+
catchError((error: HttpErrorResponse) => throwError(error)),
9795
finalize(() => {
9896
if (!shouldBypass) {
9997
this._pendingRequests--;

0 commit comments

Comments
 (0)