Fix error in goOnline. #478

This commit is contained in:
Korina Cordero 2020-08-26 04:53:53 +00:00
parent 309605da24
commit 3157ce7edc

View file

@ -320,6 +320,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
// cache rider location (default to hub)
// TODO: figure out longitude / latitude default
$rider_id = $rider->getID();
$this->rcache->addActiveRider($rider_id, 0, 0);
// send mqtt event to put rider on map