From 285957c1de3c6b58757f323b442ac1c93e35205e Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 11 Aug 2024 20:39:16 +0200 Subject: our version takes precedence over transport-apis version --- lib/Travel/Status/DE/HAFAS/Services.pm.PL | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/Travel/Status/DE') diff --git a/lib/Travel/Status/DE/HAFAS/Services.pm.PL b/lib/Travel/Status/DE/HAFAS/Services.pm.PL index ae6a754..20de534 100644 --- a/lib/Travel/Status/DE/HAFAS/Services.pm.PL +++ b/lib/Travel/Status/DE/HAFAS/Services.pm.PL @@ -53,13 +53,6 @@ sub load_instance { } } - if ( $opt{lang} ) { - $ret{request}{lang} = $opt{lang}; - } - if ( $opt{ver} ) { - $ret{request}{ver} = $opt{ver}; - } - if ( $data->{options}{ext} ) { $ret{request}{ext} = $data->{options}{ext}; } @@ -67,6 +60,13 @@ sub load_instance { $ret{request}{ver} = $data->{options}{ver}; } + if ( $opt{lang} ) { + $ret{request}{lang} = $opt{lang}; + } + if ( $opt{ver} ) { + $ret{request}{ver} = $opt{ver}; + } + return %ret; } -- cgit v1.2.3