Resolve "New rider api call to return customer hash" #1563

Merged
korina.cordero merged 22 commits from 640-new-rider-api-call-to-return-customer-hash into master-fix 2021-12-03 05:56:58 +00:00
Showing only changes of commit ee07c9cc84 - Show all commits

View file

@ -451,7 +451,8 @@ class RiderAppController extends APIController
$msg = $this->checkJO($req, $required_params, $jo, $rider);
if (!empty($msg))
return new APIResponse(false, $msg);
// TODO: this is a workaround for requeue, because rider app gets stuck in accept / decline screen
return new APIResponse(true, $msg);
// requeue it, instead of cancelling it
$jo->requeue();