From 0226713c1d1839f2ffac41a1000180c0089afe9d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 20 Mar 2019 17:45:41 +0100 Subject: use camelCase instead of snake_case in public API --- index.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.pl') 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, }, ); } -- cgit v1.2.3