@opfr/services 0.30.3 → 0.30.5

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.
package/dist/index.es.js CHANGED
@@ -9447,8 +9447,7 @@ const cs = ((js = T) == null ? void 0 : js.UserShop) || F("UserShop", Hr), My =
9447
9447
  [`limit.${a}`]: {
9448
9448
  $cond: {
9449
9449
  if: { $eq: ["$lastShopId", s] },
9450
- // Replace `rps` with the variable holding the new choice
9451
- then: { $add: [`$limit.${a}`, n] },
9450
+ then: { $add: [{ $ifNull: [`$limit.${a}`, 0] }, n] },
9452
9451
  else: n
9453
9452
  }
9454
9453
  },