From 0e1d067ce9382eaf1940b699ab2dd8e8afe63a33 Mon Sep 17 00:00:00 2001 From: user Date: Thu, 29 Oct 2020 16:03:26 +0100 Subject: [PATCH] forgot to add battery status to json, fixed now --- website/map/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/website/map/index.php b/website/map/index.php index 7f7cb3a..4f7aea8 100644 --- a/website/map/index.php +++ b/website/map/index.php @@ -48,6 +48,7 @@ global $scooters; //"import" the global variable into the function's scope "lastPos" => $pos, "lastLocationUpdate" => $lst, "isRentable" => $rnt, + "batteryLevel" => $bat, "state" => $act, "name" => $nam, "title" => $tit,