diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-30 21:54:05 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-30 21:54:05 +0200 |
commit | 26ebd3d6442ccb348ff0441a99671f74250ae57b (patch) | |
tree | 7717956b8438452f0846922c7cd5381d1f56adf0 /lib/Travelynx.pm | |
parent | 155ac555f17fbacd084ca2317708c0d25b7e5477 (diff) |
API: Expose HAFAS JourneyID, if available (#85)
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-x | lib/Travelynx.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 39eca59..64a1e85 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1852,10 +1852,11 @@ sub startup { : undef, }, train => { - type => $status->{train_type}, - line => $status->{train_line}, - no => $status->{train_no}, - id => $status->{train_id}, + type => $status->{train_type}, + line => $status->{train_line}, + no => $status->{train_no}, + id => $status->{train_id}, + hafasId => $status->{extra_data}{trip_id}, }, intermediateStops => [], visibility => { |