diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-31 20:18:22 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-31 20:18:22 +0200 |
commit | b1591eed543b355cf30d77c6b9ec886fc5eb79b4 (patch) | |
tree | 630e5435522114ac1cfbfb531a0bf8a4d848a3e0 /lib/Travelynx/Command | |
parent | 155f9f39cc83fcf83e5dd48ae58b09736281c912 (diff) |
show current/next stop while checked in
Diffstat (limited to 'lib/Travelynx/Command')
-rw-r--r-- | lib/Travelynx/Command/work.pm | 2 |
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"); |