Resolve "New rider api call to return customer hash" #1563
1 changed files with 2 additions and 1 deletions
|
|
@ -451,7 +451,8 @@ class RiderAppController extends APIController
|
||||||
|
|
||||||
$msg = $this->checkJO($req, $required_params, $jo, $rider);
|
$msg = $this->checkJO($req, $required_params, $jo, $rider);
|
||||||
if (!empty($msg))
|
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
|
// requeue it, instead of cancelling it
|
||||||
$jo->requeue();
|
$jo->requeue();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue