fix missing name

main
Giò Diani 2025-01-18 18:41:21 +01:00
parent 5ad31709a9
commit c7988e77b8
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ Route::get('/region/{id}', function (int $id) {
$regions = Api::regions()['regions'];
$regions[] = ['name' => 'Alle Regionen', 'id' => -1];
$region = $id >= 0 ? Api::regionBase($id) : [['name' => 'Alle Regionen']];
$region = $id >= 0 ? Api::regionBase($id) : ['name' => 'Alle Regionen'];
$regionPropertiesCapacities = Api::regionPropertiesCapacities($id);
$regionCapacitiesRegion = Api::regionCapacities($id);
$regionCapacitiesAll = Api::regionCapacities(-1);