Skip to content

Commit 44804fc

Browse files
committed
B2B-2404: Optimize Product Permissions in GraphQL resolver
1 parent 2721f53 commit 44804fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/CollectionFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class CollectionFactory
3434
*/
3535
public function __construct(
3636
\Magento\Framework\ObjectManagerInterface $objectManager,
37-
$instanceName = Magento\Catalog\Model\ResourceModel\Product\Collection::class
37+
$instanceName = Collection::class
3838
) {
3939
$this->_objectManager = $objectManager;
4040
$this->_instanceName = $instanceName;

0 commit comments

Comments
 (0)