summaryrefslogtreecommitdiff
path: root/lib/Travel/Status
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2023-09-05 18:11:24 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2023-09-05 18:11:24 +0200
commit9b75f467680efabc935654514215d91dd6731bdc (patch)
tree20f74d418b0dcdc131af1bc2866aff9db1905329 /lib/Travel/Status
parenteae85a8a1d4df9ca277f6cfb19e40ead51e44073 (diff)
Journey: Fix (undocumented) route_start accessor
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r--lib/Travel/Status/DE/HAFAS/Journey.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm
index 3533266..fcb33d4 100644
--- a/lib/Travel/Status/DE/HAFAS/Journey.pm
+++ b/lib/Travel/Status/DE/HAFAS/Journey.pm
@@ -218,7 +218,7 @@ sub new {
}
}
else {
- $ref->{route_start} = $stops[0]{name};
+ $ref->{route_start} = $stops[0]{loc}{name};
}
bless( $ref, $obj );