Skip to content

Commit

Permalink
fix: restore getObjects in Modules index
Browse files Browse the repository at this point in the history
  • Loading branch information
didoda committed Feb 29, 2024
1 parent b7f36fc commit 3e812f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ModulesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function index(): ?Response
}

try {
$response = $this->apiClient->get('/objects?filter[type][]=' . $this->objectType, $this->Query->index());
$response = $this->apiClient->getObjects($this->objectType, $this->Query->index());
} catch (BEditaClientException $e) {
$this->log($e->getMessage(), LogLevel::ERROR);
$this->Flash->error($e->getMessage(), ['params' => $e]);
Expand Down

0 comments on commit 3e812f1

Please sign in to comment.