Make rider available when they arrive at hub #374

This commit is contained in:
Kendrick Chan 2020-04-13 21:10:29 +08:00
parent 46f46436fe
commit 32b4c8546d

View file

@ -483,7 +483,9 @@ class ResqRiderAPIHandler implements RiderAPIHandlerInterface
return $data;
}
// TODO: tag rider as available
// tag rider as available
$rider = $this->session->getRider();
$rider->setAvailable(true);
$this->em->flush();