diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-13 20:18:40 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-13 20:18:40 +0200 |
commit | 293f0c7577b90e69585831eef50e121f28122ef7 (patch) | |
tree | aa957e23d701d367f86e6bee3ebba68d9fa57213 /lib/Travelynx/Helper | |
parent | 69edd81eeb86eb4ecd5fba80fb3a4505a8085183 (diff) |
synchronize non-train checkins from traewelling to travelynx
Diffstat (limited to 'lib/Travelynx/Helper')
-rw-r--r-- | lib/Travelynx/Helper/Traewelling.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travelynx/Helper/Traewelling.pm b/lib/Travelynx/Helper/Traewelling.pm index 18edc18..d688004 100644 --- a/lib/Travelynx/Helper/Traewelling.pm +++ b/lib/Travelynx/Helper/Traewelling.pm @@ -116,6 +116,7 @@ sub get_status_p { my $category = $status->{train}{category}; my $linename = $status->{train}{lineName}; + my $trip_id = $status->{train}{hafasId}; my ( $train_type, $train_line ) = split( qr{ }, $linename ); $promise->resolve( { @@ -131,6 +132,7 @@ sub get_status_p { arr_eva => $arr_eva, arr_ds100 => $arr_ds100, arr_name => $arr_name, + trip_id => $trip_id, train_type => $train_type, line => $linename, line_no => $train_line, |