@infrab4a/connect-angular 4.14.4-beta.1 → 4.14.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1495,9 +1495,6 @@ class CartService {
1495
1495
  }), concatMap((checkout) => this.checkoutService.updateCheckoutLineItems(checkout)), map((checkout) => this.generateCartObject(checkout.lineItems)), tap((cart) => this.cartSubject.next(cart)));
1496
1496
  }
1497
1497
  updateUserCart(user) {
1498
- // const isSameUserId = !user?.id || this.user?.id === user?.id
1499
- // const isSameUser = isSameUserId && !!this.user?.isSubscriber === !!user?.isSubscriber
1500
- // if (isSameUser) return this.getCart()
1501
1498
  return this.checkoutService.getCheckout().pipe(concatMap((checkout) => this.checkoutService.updateCheckoutUser(Checkout.toInstance({ ...checkout.toPlain(), user }))), concatMap(async (checkout) => await this.checkoutService
1502
1499
  .updateCheckoutLineItems(Checkout.toInstance({
1503
1500
  ...checkout.toPlain(),