Loading lib/Travel/Status/DE/EFA.pm +5 −0 Original line number Diff line number Diff line Loading @@ -628,6 +628,11 @@ sub results_dm { my ($self) = @_; my $json = $self->{response}; # Oh EFA, you so silly if ( $json->{departureList} and ref( $json->{departureList} ) eq 'HASH' ) { $json->{departureList} = [ $json->{departureList}{departure} ]; } my @results; for my $departure ( @{ $json->{departureList} // [] } ) { push( Loading Loading
lib/Travel/Status/DE/EFA.pm +5 −0 Original line number Diff line number Diff line Loading @@ -628,6 +628,11 @@ sub results_dm { my ($self) = @_; my $json = $self->{response}; # Oh EFA, you so silly if ( $json->{departureList} and ref( $json->{departureList} ) eq 'HASH' ) { $json->{departureList} = [ $json->{departureList}{departure} ]; } my @results; for my $departure ( @{ $json->{departureList} // [] } ) { push( Loading