summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
Diffstat (limited to 'index.pl')
-rwxr-xr-xindex.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.pl b/index.pl
index 8cd45dd..de1fc08 100755
--- a/index.pl
+++ b/index.pl
@@ -1117,9 +1117,9 @@ get '/api/v0/:action/:token' => sub {
line => $status->{train_line},
no => $status->{train_no},
},
- action_ts => $status->{timestamp}->epoch,
- sched_ts => $status->{sched_ts}->epoch,
- real_ts => $status->{real_ts}->epoch,
+ actionTime => $status->{timestamp}->epoch,
+ scheduledTime => $status->{sched_ts}->epoch,
+ realTime => $status->{real_ts}->epoch,
},
);
}