Commit dc7bc5a5 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

work: Fix travelynx->Traewelling sync when several users are checked in

I made a derp
parent f31fdb62
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 );