From b951e4d06eaeedc4cc13bccb1230f2189256bb8a Mon Sep 17 00:00:00 2001 From: tracer Date: Tue, 22 Feb 2022 16:04:40 +0100 Subject: [PATCH] chenged content to panel Signed-off-by: tracer --- src/Controller/RequestController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Controller/RequestController.php b/src/Controller/RequestController.php index 39509de..ef87511 100644 --- a/src/Controller/RequestController.php +++ b/src/Controller/RequestController.php @@ -133,9 +133,9 @@ class RequestController $resultDomain = []; foreach ($domains as $singleDomain) { $domain = [ - 'id' => $singleDomain->getId(), - 'name' => $singleDomain->getName(), - 'content' => json_decode(json: $singleDomain->getContent()) + 'id' => $singleDomain->getId(), + 'name' => $singleDomain->getName(), + 'panel' => $singleDomain->getPanel() ]; $resultDomain[] = $domain; }