Fix error in goOnline. #478
This commit is contained in:
parent
309605da24
commit
3157ce7edc
1 changed files with 1 additions and 0 deletions
|
|
@ -320,6 +320,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
|
||||||
|
|
||||||
// cache rider location (default to hub)
|
// cache rider location (default to hub)
|
||||||
// TODO: figure out longitude / latitude default
|
// TODO: figure out longitude / latitude default
|
||||||
|
$rider_id = $rider->getID();
|
||||||
$this->rcache->addActiveRider($rider_id, 0, 0);
|
$this->rcache->addActiveRider($rider_id, 0, 0);
|
||||||
|
|
||||||
// send mqtt event to put rider on map
|
// send mqtt event to put rider on map
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue