summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-06-21 20:43:36 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-06-21 20:43:36 +0200
commitbd24f1f2f43874fefed449faba83463695788db9 (patch)
tree1aa3fb9f3f581febbcdbb8ccc2f782fbebb3d023 /lib/Travelynx.pm
parentcb8964fb3ce7006906576fca37f0c5b8b4efff70 (diff)
oopsie2.7.2
Closes #144
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 1 insertions, 1 deletions
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(