Fix bug in rider cache #270

This commit is contained in:
Kendrick Chan 2020-01-28 05:37:41 +08:00
parent 676bf40004
commit 86b4601bb8

View file

@ -20,8 +20,6 @@ class RiderCache
public function addActiveRider($id, $lat, $lng) public function addActiveRider($id, $lat, $lng)
{ {
$coords = $jo->getCoordinates();
$this->redis->geoadd( $this->redis->geoadd(
$this->loc_key, $this->loc_key,
$lng, $lng,