From 3157ce7edc42b2951964b9dcd8a121972eb8db4e Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Wed, 26 Aug 2020 04:53:53 +0000 Subject: [PATCH] Fix error in goOnline. #478 --- src/Service/RiderAPIHandler/CMBRiderAPIHandler.php | 1 + 1 file changed, 1 insertion(+) 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