fix missing name
parent
5ad31709a9
commit
c7988e77b8
|
@ -59,7 +59,7 @@ Route::get('/region/{id}', function (int $id) {
|
||||||
|
|
||||||
$regions = Api::regions()['regions'];
|
$regions = Api::regions()['regions'];
|
||||||
$regions[] = ['name' => 'Alle Regionen', 'id' => -1];
|
$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);
|
$regionPropertiesCapacities = Api::regionPropertiesCapacities($id);
|
||||||
$regionCapacitiesRegion = Api::regionCapacities($id);
|
$regionCapacitiesRegion = Api::regionCapacities($id);
|
||||||
$regionCapacitiesAll = Api::regionCapacities(-1);
|
$regionCapacitiesAll = Api::regionCapacities(-1);
|
||||||
|
|
Loading…
Reference in New Issue