diff --git a/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php b/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php index 5f33261b..80a8301b 100644 --- a/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php +++ b/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php @@ -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