diff --git a/lib/Travelynx/Model/InTransit.pm b/lib/Travelynx/Model/InTransit.pm index 9899676..adcdfa3 100644 --- a/lib/Travelynx/Model/InTransit.pm +++ b/lib/Travelynx/Model/InTransit.pm @@ -150,7 +150,7 @@ sub add { checkin_station_id => $stop->eva, checkin_time => DateTime->now( time_zone => 'Europe/Berlin' ), dep_platform => $stop->{platform}, - train_type => $journey->type, + train_type => $journey->type // q{}, train_line => $journey->line_no, train_no => $journey->number // q{}, train_id => $journey->id,