Traveling: work around empty evas list in HAFAS result

This commit is contained in:
Birte Kristina Friesel 2024-03-05 21:35:08 +01:00
parent c04e58a8e4
commit 9e073a0fe8
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -975,7 +975,7 @@ sub station {
} $status->results;
$self->stations->add_meta(
eva => $status->station->{eva},
meta => $status->station->{evas}
meta => $status->station->{evas} // []
);
$status = {
station_eva => $status->station->{eva},