summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(