summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Helper
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-03-26 21:46:28 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-03-26 21:46:28 +0100
commit15fa71dbca78899ec4214178440312dd024a5931 (patch)
tree2d0aa2f80ff965df4cd47565007f535473a37e78 /lib/DBInfoscreen/Helper
parent3a568e5dbd1b7afd2a872af232e8bd0ff948f48d (diff)
train details: support non-DB HAFAS backends
Diffstat (limited to 'lib/DBInfoscreen/Helper')
-rw-r--r--lib/DBInfoscreen/Helper/HAFAS.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm
index ad21c58..302cb9c 100644
--- a/lib/DBInfoscreen/Helper/HAFAS.pm
+++ b/lib/DBInfoscreen/Helper/HAFAS.pm
@@ -39,6 +39,7 @@ sub get_route_p {
if ( $opt{trip_id} ) {
$hafas_promise = Travel::Status::DE::HAFAS->new_p(
+ service => $opt{service},
journey => {
id => $opt{trip_id},
},