From bd24f1f2f43874fefed449faba83463695788db9 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 21 Jun 2024 20:43:36 +0200 Subject: oopsie Closes #144 --- lib/Travelynx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 6ecba60..2f8396c 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1358,7 +1358,7 @@ sub startup { } my $route = $in_transit->{route}; - my $train_id = $train->id; + my $train_id = $train->train_id; # TODO get_tripid_p is only needed on the first call, afterwards the tripid is known. $self->hafas->get_tripid_p( train => $train )->then( -- cgit v1.2.3