diff --git a/src/ValanticSpryker/Zed/ProductFirstSpiritApi/Business/Reader/ProductReader.php b/src/ValanticSpryker/Zed/ProductFirstSpiritApi/Business/Reader/ProductReader.php index d89a7b2..dba3670 100644 --- a/src/ValanticSpryker/Zed/ProductFirstSpiritApi/Business/Reader/ProductReader.php +++ b/src/ValanticSpryker/Zed/ProductFirstSpiritApi/Business/Reader/ProductReader.php @@ -199,9 +199,7 @@ protected function adjustQueryData($queryData): array $queryData[self::KEY_PRODUCTS_PER_PAGE] = $this->firstSpiritApiConfig->getPagingSize(); $queryData = $this->replaceOldArrayKeyWithNewArrayKey($queryData, self::CATEGORY_ID, self::CATEGORY); - $this->extendQueryData($queryData); - - return $queryData; + return $this->extendQueryData($queryData); } /**