diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Routing/DE/HAFAS.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travel/Routing/DE/HAFAS.pm b/lib/Travel/Routing/DE/HAFAS.pm index 43ba966..a0fcc51 100644 --- a/lib/Travel/Routing/DE/HAFAS.pm +++ b/lib/Travel/Routing/DE/HAFAS.pm @@ -557,6 +557,7 @@ sub add_message { my $short = $json->{txtS}; my $text = $json->{txtN}; + my $type = $json->{type}; my $code = $json->{code}; my $prio = $json->{prio}; @@ -581,6 +582,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, |