summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-01-07 12:29:56 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-01-07 12:29:56 +0100
commit57a1ecbf766b41e6ba728fda17f41b7fbba5838f (patch)
tree946b8124c6917a0df663bf9fb6543f62a0da4319
parent0669b581943ba73aee04abbdb8b0333d31b702f4 (diff)
traewelling checkin: add missing ibnr field to API payload
-rw-r--r--lib/Travelynx/Helper/Traewelling.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travelynx/Helper/Traewelling.pm b/lib/Travelynx/Helper/Traewelling.pm
index 85bb361..653c627 100644
--- a/lib/Travelynx/Helper/Traewelling.pm
+++ b/lib/Travelynx/Helper/Traewelling.pm
@@ -343,6 +343,7 @@ sub checkin {
tripId => $opt{trip_id},
lineName => $opt{train_type} . ' '
. ( $opt{train_line} // $opt{train_no} ),
+ ibnr => \1,
start => q{} . $opt{dep_eva},
destination => q{} . $opt{arr_eva},
departure => $departure_ts,