From 25378a673934773dae4ff73ddae2ea0441f03c42 Mon Sep 17 00:00:00 2001 From: Jannik Zinkl Date: Tue, 6 Aug 2024 00:07:55 +0200 Subject: [PATCH] fix: filter out missing product type --- .../src/products/index.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkg/integration-saleor-entities/src/products/index.ts b/pkg/integration-saleor-entities/src/products/index.ts index f5782d91..c0c674b5 100644 --- a/pkg/integration-saleor-entities/src/products/index.ts +++ b/pkg/integration-saleor-entities/src/products/index.ts @@ -1139,6 +1139,13 @@ export class SaleorProductSyncService { }, }, }, + productType: { + saleorProductTypes: { + some: { + installedSaleorAppId: this.installedSaleorAppId, + }, + }, + }, }, include: productInclude, }); @@ -1202,6 +1209,13 @@ export class SaleorProductSyncService { installedSaleorAppId: this.installedSaleorAppId, }, }, + productType: { + saleorProductTypes: { + some: { + installedSaleorAppId: this.installedSaleorAppId, + }, + }, + }, }, include: productInclude, });