summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx')
-rw-r--r--lib/Travelynx/Command/work.pm4
1 files changed, 2 insertions, 2 deletions
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");