diff options
Diffstat (limited to 'lib/Travelynx/Controller')
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index bbf191d..7c2fe33 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -821,9 +821,10 @@ sub station { } $status->results; $status = { station_eva => $status->station->{eva}, - station_name => - List::Util::reduce { length($a) < length($b) ? $a : $b } - @{ $status->station->{names} }, + station_name => ( + List::Util::reduce { length($a) < length($b) ? $a : $b } + @{ $status->station->{names} } + ), related_stations => [], }; } |