summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/HAFAS.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS.pm')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index 3020ae2..e67eb3b 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -619,6 +619,7 @@ sub add_message {
my $short = $json->{txtS};
my $text = $json->{txtN};
+ my $type = $json->{type};
my $code = $json->{code};
my $prio = $json->{prio};
@@ -643,6 +644,7 @@ sub add_message {
my $message = Travel::Status::DE::HAFAS::Message->new(
short => $short,
text => $text,
+ type => $type,
code => $code,
prio => $prio,
is_him => $is_him,