Browse Source

forgot to add battery status to json, fixed now

master
user 4 years ago
parent
commit
0e1d067ce9
  1. 1
      website/map/index.php

1
website/map/index.php

@ -48,6 +48,7 @@ global $scooters; //"import" the global variable into the function's scope
"lastPos" => $pos, "lastPos" => $pos,
"lastLocationUpdate" => $lst, "lastLocationUpdate" => $lst,
"isRentable" => $rnt, "isRentable" => $rnt,
"batteryLevel" => $bat,
"state" => $act, "state" => $act,
"name" => $nam, "name" => $nam,
"title" => $tit, "title" => $tit,

Loading…
Cancel
Save