@infrab4a/connect 0.16.7 → 0.16.9-beta.0

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.
@@ -2243,7 +2243,9 @@
2243
2243
  productIds = chunks_1_1.value;
2244
2244
  if ((options === null || options === void 0 ? void 0 : options.limit) && products.length >= (options === null || options === void 0 ? void 0 : options.limit))
2245
2245
  return [3 /*break*/, 6];
2246
- return [4 /*yield*/, this.collection('products').where(publishedField, '==', true).where('id', 'in', productIds)];
2246
+ return [4 /*yield*/, this.collection('productsErpVitrine')
2247
+ .where(publishedField, '==', true)
2248
+ .where('id', 'in', productIds)];
2247
2249
  case 3:
2248
2250
  query = _b.sent();
2249
2251
  if (options === null || options === void 0 ? void 0 : options.hasStock)
@@ -2284,7 +2286,7 @@
2284
2286
  function ProductFirestoreRepository(firestore) {
2285
2287
  var _this = _super.call(this) || this;
2286
2288
  _this.firestore = firestore;
2287
- _this.collectionName = 'products';
2289
+ _this.collectionName = 'productsErpVitrine';
2288
2290
  _this.model = Product;
2289
2291
  return _this;
2290
2292
  }