Skip to content

Commit

Permalink
fix: filter out missing product type
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikZed committed Aug 5, 2024
1 parent 69d9a51 commit 25378a6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkg/integration-saleor-entities/src/products/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,13 @@ export class SaleorProductSyncService {
},
},
},
productType: {
saleorProductTypes: {
some: {
installedSaleorAppId: this.installedSaleorAppId,
},
},
},
},
include: productInclude,
});
Expand Down Expand Up @@ -1202,6 +1209,13 @@ export class SaleorProductSyncService {
installedSaleorAppId: this.installedSaleorAppId,
},
},
productType: {
saleorProductTypes: {
some: {
installedSaleorAppId: this.installedSaleorAppId,
},
},
},
},
include: productInclude,
});
Expand Down

0 comments on commit 25378a6

Please sign in to comment.