Skip to content

Commit

Permalink
fix: 'this' is undefined in ProductEffects.productLoadEffect (#17853)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpawelczak authored Sep 20, 2023
1 parent c933a6c commit 87a65ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/core/src/product/store/effects/product.effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/

import { Injectable, inject } from '@angular/core';
import { inject, Injectable } from '@angular/core';
import { Actions, createEffect, ofType } from '@ngrx/effects';
import { Action } from '@ngrx/store';
import { Observable, merge, of } from 'rxjs';
import { merge, Observable, of } from 'rxjs';
import { catchError, map, mergeMap } from 'rxjs/operators';
import { AuthActions } from '../../../auth/user-auth/store/actions';
import { LoggerService } from '../../../logger';
Expand Down Expand Up @@ -49,7 +49,7 @@ export class ProductEffects {
merge(
...this.productConnector
.getMany(products)
.map(this.productLoadEffect)
.map((productLoad) => this.productLoadEffect(productLoad))
)
),
withdrawOn(this.contextChange$)
Expand Down

0 comments on commit 87a65ec

Please sign in to comment.