summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2025-03-25 18:10:35 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2025-03-25 18:10:35 +0100
commitbeb173170cede65c8747e9d712fc4e8dde6da02f (patch)
tree1b2bfbcdcccbbd115453f544f40b1ce4015aac2e /lib
parent2761baf6eebd935206f72a6d48c0d981e713e2dd (diff)
work: pass train_id to update_arrival_dbris (oops)2.11.2
Diffstat (limited to 'lib')
-rw-r--r--lib/Travelynx/Command/work.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm
index 55c2005..e131533 100644
--- a/lib/Travelynx/Command/work.pm
+++ b/lib/Travelynx/Command/work.pm
@@ -102,11 +102,12 @@ sub run {
if ( $found_arr and $found_arr->rt_arr ) {
$self->app->in_transit->update_arrival_dbris(
- uid => $uid,
- journey => $journey,
- stop => $found_arr,
- dep_eva => $dep,
- arr_eva => $arr
+ uid => $uid,
+ journey => $journey,
+ train_id => $train_id,
+ stop => $found_arr,
+ dep_eva => $dep,
+ arr_eva => $arr
);
if ( $found_arr->arr->epoch - $now->epoch < 600 ) {
$self->app->add_wagonorder(