summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-08-10 16:49:26 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-08-10 16:49:26 +0200
commitca6add94fd894d625f08314acaae5da0f7587dd3 (patch)
tree9dcbfa1064fb0597e4507fd998662114d8d2e3c6 /lib
parent6f47465a52e056f9fe6d1290828fd449b6aaa808 (diff)
Group: Correctly set group name (it's not part of the transport dict)
Closes #1 Thanks to Caß Dingenskirchen!
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung/Group.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Group.pm b/lib/Travel/Status/DE/DBWagenreihung/Group.pm
index 6ac1109..58beaf4 100644
--- a/lib/Travel/Status/DE/DBWagenreihung/Group.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung/Group.pm
@@ -84,7 +84,7 @@ sub new {
carriages => $opt{carriages},
destination => $json{transport}{destination}{name},
train_type => $json{transport}{category},
- name => $json{transport}{name},
+ name => $json{name},
line => $json{transport}{numberwline},
train_no => $json{transport}{number},
};