Skip to content

Commit f510a5a

Browse files
committed
ACP2E-3419: [Cloud] products GraphQL query returns related products not assigned to current website
- Small changes to fix a scenerio.
1 parent 74f54fd commit f510a5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/RelatedProductGraphQl/Model/ResourceModel/RelatedProductsByStoreId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ public function execute(array $linkedProductIds, string $websiteId): array
6767
}
6868
return !empty($linkedStoreProductIds) ?
6969
array_column($linkedStoreProductIds, 'linked_product_id')
70-
: $linkedProductIds;
70+
:[];
7171
}
7272
}

0 commit comments

Comments
 (0)