summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-10-19 19:33:40 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-10-19 19:33:40 +0200
commitdc7bc5a5f437a31afe1d0b47e3955a9299af9d0a (patch)
tree71ee1e6fba82fd8cc425f6f9ebdd4f6674490e50 /lib/Travelynx
parentf31fdb62d84835de712e93af0a54298f0ee62478 (diff)
work: Fix travelynx->Traewelling sync when several users are checked in1.18.5
I made a derp
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 a43a5b9..6bbf0ff 100644
--- a/lib/Travelynx/Command/work.pm
+++ b/lib/Travelynx/Command/work.pm
@@ -273,13 +273,13 @@ sub run {
"Fehler bei $candidate->{train_type} $candidate->{train_no}: Keine trip_id vorhanden",
is_error => 1
);
- return;
+ next;
}
if ( $candidate->{data}{latest_push_ts}
and $candidate->{data}{latest_push_ts} == $candidate->{checkin_ts} )
{
$self->app->log->debug("... already handled");
- return;
+ next;
}
$self->app->traewelling_api->checkin( %{$candidate},
trip_id => $trip_id );