From 3e812f15d7da8ec5bc812c83ea4aacc0ba87b6ab Mon Sep 17 00:00:00 2001 From: dante di domenico Date: Thu, 29 Feb 2024 16:18:56 +0100 Subject: [PATCH] fix: restore getObjects in Modules index --- src/Controller/ModulesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/ModulesController.php b/src/Controller/ModulesController.php index a1bcac366..c9ca05cfe 100644 --- a/src/Controller/ModulesController.php +++ b/src/Controller/ModulesController.php @@ -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]);