summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-08-13 23:04:21 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-08-13 23:04:21 +0200
commitd883a869f318cdc71a72f78f7f5a842016add880 (patch)
treec7215d57e29d14ec8ac67620212a0aeace001363
parent152907734c1ba64d39aeed6e7484031ba6794e35 (diff)
carriage formation: sort dict keys so that caching actually works4.29.11
-rw-r--r--lib/DBInfoscreen/Helper/Wagonorder.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Helper/Wagonorder.pm b/lib/DBInfoscreen/Helper/Wagonorder.pm
index c736816..9981244 100644
--- a/lib/DBInfoscreen/Helper/Wagonorder.pm
+++ b/lib/DBInfoscreen/Helper/Wagonorder.pm
@@ -48,7 +48,7 @@ sub get_p {
my $url = sprintf( '%s?%s',
'https://www.bahn.de/web/api/reisebegleitung/wagenreihung/vehicle-sequence',
- join( '&', map { $_ . '=' . $param{$_} } keys %param ) );
+ join( '&', map { $_ . '=' . $param{$_} } sort keys %param ) );
my $promise = Mojo::Promise->new;