diff --git a/Job/Product.php b/Job/Product.php index 85b8a5ab..76d26345 100644 --- a/Job/Product.php +++ b/Job/Product.php @@ -517,7 +517,7 @@ public function createTable() $modelFilters = $this->getProductModelFilters($family); foreach ($modelFilters as $filter) { /** @var PageInterface $productModels */ - $productModels = $akeneoClient->listPerPage(1, false, $filter); + $productModels = $akeneoClient->getProductModelApi()->listPerPage(1, false, $filter); /** @var array $productModel */ $productModels = $productModels->getItems();