Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/core/src/service/services/product.service.ts
Original file line number Diff line number Diff line change
@@ -120,12 +120,7 @@ export class ProductService {
effectiveRelations.push('facetValues.facet');
}
const product = await this.connection.findOneInChannel(ctx, Product, productId, ctx.channelId, {
// relations: unique(effectiveRelations),
relations: {
facetValues: {
facet: true,
},
},
relations: unique(effectiveRelations),
where: {
deletedAt: IsNull(),
},

0 comments on commit 92cad43

Please sign in to comment.