summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-31 20:18:22 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-31 20:18:22 +0200
commitb1591eed543b355cf30d77c6b9ec886fc5eb79b4 (patch)
tree630e5435522114ac1cfbfb531a0bf8a4d848a3e0 /lib/Travelynx/Command
parent155f9f39cc83fcf83e5dd48ae58b09736281c912 (diff)
show current/next stop while checked in
Diffstat (limited to 'lib/Travelynx/Command')
-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");