summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 96b45be..66cac2e 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -3205,8 +3205,8 @@ sub startup {
no => $status->{train_no},
id => $status->{train_id},
},
- actionTime => $status->{timestamp}->epoch,
- nextStops => [],
+ actionTime => $status->{timestamp}->epoch,
+ intermediateStops => [],
};
for my $stop ( @{ $status->{route_after} // [] } ) {
@@ -3215,7 +3215,7 @@ sub startup {
last;
}
push(
- @{ $ret->{nextStops} },
+ @{ $ret->{intermediateStops} },
{
name => $stop->[0],
scheduledArrival => $stop->[1]{sched_arr}