summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx')
-rw-r--r--lib/Travelynx/Command/work.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm
index 46f2213..80c584c 100644
--- a/lib/Travelynx/Command/work.pm
+++ b/lib/Travelynx/Command/work.pm
@@ -60,6 +60,7 @@ sub run {
},
{ user_id => $uid }
);
+ $self->app->add_route_timestamps( $uid, $train );
}
};
if ($@) {
@@ -112,6 +113,7 @@ sub run {
},
{ user_id => $uid }
);
+ $self->app->add_route_timestamps( $uid, $train );
}
elsif ( $entry->{real_arr_ts} ) {
$self->app->log->debug(" - checking out");