@infrab4a/connect 3.2.6-beta.0 → 3.2.6-beta.1

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.
@@ -3849,23 +3849,20 @@
3849
3849
  case 3:
3850
3850
  _f.apply(_e, [_g.sent()]);
3851
3851
  _g.label = 4;
3852
- case 4:
3853
- if (!categoriesHasura.length)
3854
- throw new NotFoundError('Categories not found');
3855
- return [4 /*yield*/, Promise.all(categories.map(function (category) { return __awaiter(_this, void 0, void 0, function () {
3856
- var _c;
3857
- return __generator(this, function (_d) {
3858
- switch (_d.label) {
3859
- case 0:
3860
- _c = {
3861
- category: category
3862
- };
3863
- return [4 /*yield*/, this.mountCategory(category, { limit: limit, hasStock: true })];
3864
- case 1: return [2 /*return*/, (_c.products = _d.sent(),
3865
- _c)];
3866
- }
3867
- });
3868
- }); }))];
3852
+ case 4: return [4 /*yield*/, Promise.all(categories.map(function (category) { return __awaiter(_this, void 0, void 0, function () {
3853
+ var _c;
3854
+ return __generator(this, function (_d) {
3855
+ switch (_d.label) {
3856
+ case 0:
3857
+ _c = {
3858
+ category: category
3859
+ };
3860
+ return [4 /*yield*/, this.mountCategory(category, { limit: limit, hasStock: true })];
3861
+ case 1: return [2 /*return*/, (_c.products = _d.sent(),
3862
+ _c)];
3863
+ }
3864
+ });
3865
+ }); }))];
3869
3866
  case 5:
3870
3867
  homeSections = _g.sent();
3871
3868
  return [2 /*return*/, homeSections];