summaryrefslogtreecommitdiff
path: root/bin/hafas-m
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hafas-m')
-rwxr-xr-xbin/hafas-m2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hafas-m b/bin/hafas-m
index 3533cf4..4a2dda5 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -250,7 +250,7 @@ if ( my $err = $status->errstr ) {
if ($json_output) {
if ( $opt{journey} ) {
- say JSON->new->convert_blessed->encode( [ $status->result ] );
+ say JSON->new->convert_blessed->encode( $status->result );
}
else {
say JSON->new->convert_blessed->encode( [ $status->results ] );