diff --git a/src/Controller/WorkshopsController.php b/src/Controller/WorkshopsController.php index fe6078912..48d622384 100644 --- a/src/Controller/WorkshopsController.php +++ b/src/Controller/WorkshopsController.php @@ -425,7 +425,7 @@ public function getWorkshopsWithCityFilter() { $preparedCategories[] = [ 'id' => $category->id, 'label' => $category->name, - 'icon' => Configure::read('AppConfig.serverName') . '/img/icon-skills/' . $category->icon . '.png', + 'iconUrl' => Configure::read('AppConfig.serverName') . '/img/icon-skills/' . $category->icon . '.png', ]; } diff --git a/tests/comparisons/rest-workshops-berlin.json b/tests/comparisons/rest-workshops-berlin.json index c8ef3c28b..34d9edfab 100644 --- a/tests/comparisons/rest-workshops-berlin.json +++ b/tests/comparisons/rest-workshops-berlin.json @@ -17,7 +17,7 @@ { "id": 630, "label": "3D-Reparatur", - "icon": "{{serverName}}\/img\/icon-skills\/drei-d-reparatur.png" + "iconUrl": "{{serverName}}\/img\/icon-skills\/drei-d-reparatur.png" } ] }