From 0bbdd768f44abae452802df7cf9fc88876dac338 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 17 Jun 2019 20:59:57 +0200 Subject: prepare for wagon order support --- lib/Travelynx/Command/work.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Travelynx/Command') diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm index 3e7df72..6970918 100644 --- a/lib/Travelynx/Command/work.pm +++ b/lib/Travelynx/Command/work.pm @@ -66,7 +66,7 @@ sub run { }, { user_id => $uid } ); - $self->app->add_route_timestamps( $uid, $train ); + $self->app->add_route_timestamps( $uid, $train, 1 ); } }; if ($@) { @@ -113,7 +113,7 @@ sub run { }, { user_id => $uid } ); - $self->app->add_route_timestamps( $uid, $train ); + $self->app->add_route_timestamps( $uid, $train, 0 ); } elsif ( $entry->{real_arr_ts} ) { $self->app->log->debug(" - checking out"); -- cgit v1.2.3