diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-04-02 19:05:39 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-04-02 19:05:56 +0200 |
commit | deb6683f637bbfe27f7c7dfce27233def228aadb (patch) | |
tree | d0866f78505e952e815c0f1b3d24467cb6a5023f | |
parent | 2a7f9400a751b0a301c06d09d294439572926e7b (diff) |
DBRIS trains may come without a type2.11.13
Closes #221
-rw-r--r-- | lib/Travelynx/Model/InTransit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Model/InTransit.pm b/lib/Travelynx/Model/InTransit.pm index 65ab9dd..1028d59 100644 --- a/lib/Travelynx/Model/InTransit.pm +++ b/lib/Travelynx/Model/InTransit.pm @@ -239,7 +239,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 => $line, train_no => $journey->number, train_id => $data->{trip_id}, |