From 743745e1621c0d8bf710cce3df8463f6d7136fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Levent=20Arman=20=C3=96zak?= Date: Fri, 14 Aug 2020 15:24:43 +0300 Subject: [PATCH] Update auth-flow.strategy.ts --- .../packages/core/src/lib/strategies/auth-flow.strategy.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/npm/ng-packs/packages/core/src/lib/strategies/auth-flow.strategy.ts b/npm/ng-packs/packages/core/src/lib/strategies/auth-flow.strategy.ts index 2ff1241e9a..9f1ec80486 100644 --- a/npm/ng-packs/packages/core/src/lib/strategies/auth-flow.strategy.ts +++ b/npm/ng-packs/packages/core/src/lib/strategies/auth-flow.strategy.ts @@ -20,9 +20,7 @@ export abstract class AuthFlowStrategy { abstract logout(): Observable; abstract destroy(): void; - private catchError = err => { - return this.store.dispatch(new RestOccurError(err)); - }; + private catchError = err => this.store.dispatch(new RestOccurError(err)); constructor(protected injector: Injector) { this.store = injector.get(Store);