diff --git a/@overflow/notification/store/notification/notification.effect.ts b/@overflow/notification/store/notification/notification.effect.ts index c530000..58bd8cc 100644 --- a/@overflow/notification/store/notification/notification.effect.ts +++ b/@overflow/notification/store/notification/notification.effect.ts @@ -50,15 +50,15 @@ export class Effects { return of(new ReadAllByMemberFailure(error)); }); - @Effect() - markAllAsRead$: Observable = this.actions$ - .ofType(ActionType.MarkAllAsRead) - .map((action: MarkAllAsRead) => action.payload) - .switchMap(payload => this.notificationService.markAllAsRead(payload.member, payload.pageParams)) - .map(page => { - return new MarkAllAsReadSuccess(page); - }) - .catch((error: RPCClientError) => { - return of(new MarkAllAsReadFailure(error)); - }); + @Effect() + markAllAsRead$: Observable = this.actions$ + .ofType(ActionType.MarkAllAsRead) + .map((action: MarkAllAsRead) => action.payload) + .switchMap(payload => this.notificationService.markAllAsRead(payload.member, payload.pageParams)) + .map(page => { + return new MarkAllAsReadSuccess(page); + }) + .catch((error: RPCClientError) => { + return of(new MarkAllAsReadFailure(error)); + }); }