diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-10-31 14:50:32 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-10-31 14:50:32 +0100 |
commit | ea80109aeab7df8fa0c6432a1392ced2689c40af (patch) | |
tree | 605a8e3b8b59162389723e5044f6ef0b1c3b8199 /lib/DBInfoscreen/Helper/HAFAS.pm | |
parent | ebcdd7b5c58855cee833bc7086dc6a431b438d0a (diff) |
i18n: pass language on to HAFAS backend
Diffstat (limited to 'lib/DBInfoscreen/Helper/HAFAS.pm')
-rw-r--r-- | lib/DBInfoscreen/Helper/HAFAS.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm index 11878ff..66a43df 100644 --- a/lib/DBInfoscreen/Helper/HAFAS.pm +++ b/lib/DBInfoscreen/Helper/HAFAS.pm @@ -188,6 +188,7 @@ sub get_route_timestamps_p { journey => { id => $opt{trip_id}, }, + language => $opt{language}, cache => $self->{realtime_cache}, promise => 'Mojo::Promise', user_agent => $self->{user_agent}->request_timeout(10) @@ -215,6 +216,7 @@ sub get_route_timestamps_p { # name => $opt{train_no}, }, + language => $opt{language}, cache => $self->{realtime_cache}, promise => 'Mojo::Promise', user_agent => $self->{user_agent}->request_timeout(10) |