Merge branch '478-cmb-move-adding-removing-rider-to-and-from-cache' into '472-cmb-release'
Fix error in goOnline. #478 See merge request jankstudio/resq!556
This commit is contained in:
commit
3f0cca1fc9
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