@infrab4a/connect-angular 3.10.0-beta.8 → 3.10.0-beta.9

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.
@@ -456,7 +456,7 @@
456
456
  orders = _c.sent();
457
457
  ordersWithUser = this.countOrdersWithUser(orders, checkout.user.email);
458
458
  couponUseLimits = this.getCouponUseLimits(coupon, checkoutType, checkout.user);
459
- if (couponUseLimits.useLimitPerUser && ordersWithUser > 0)
459
+ if (couponUseLimits.limitedPerUser && ordersWithUser > 0)
460
460
  throw 'Limite de uso por usuário atingido.';
461
461
  if (!couponUseLimits.unlimited && couponUseLimits.total && orders.length >= couponUseLimits.total)
462
462
  throw 'Limite de uso atingido.';