Fixes #2443
@@ -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(),
},