Skip to content

Commit

Permalink
Fixed the method call as it was renamed on the core side.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslanbaidan committed Dec 4, 2023
1 parent 1325a85 commit 8ddf830
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Controller/ApiObjectsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Monarc\Core\Controller\Handler\ControllerRequestResponseHandlerTrait;
use Monarc\Core\InputFormatter\Object\GetObjectInputFormatter;
use Monarc\Core\InputFormatter\Object\GetObjectsInputFormatter;
use Monarc\Core\Model\Entity\AnrSuperClass;
use Monarc\Core\Model\Entity\Anr;
use Monarc\Core\Service\ObjectService;
use Monarc\Core\Validator\InputValidator\Object\PostObjectDataInputValidator;

Expand Down Expand Up @@ -45,7 +45,7 @@ public function getList()

return $this->getPreparedJsonResponse([
'count' => $this->objectService->getCount($formattedInputParams),
'objects' => $this->objectService->getListSpecific($formattedInputParams),
'objects' => $this->objectService->getList($formattedInputParams),
]);
}

Expand Down Expand Up @@ -96,7 +96,7 @@ public function delete($id)

public function parentsAction()
{
/** @var AnrSuperClass|null $anr */
/** @var Anr|null $anr */
$anr = $this->getRequest()->getAttribute('anr');
$objectUuid = $this->params()->fromRoute('id');

Expand Down

0 comments on commit 8ddf830

Please sign in to comment.