From b1591eed543b355cf30d77c6b9ec886fc5eb79b4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 31 May 2019 20:18:22 +0200 Subject: show current/next stop while checked in --- lib/Travelynx/Command/work.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Travelynx') 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"); -- cgit v1.2.3