Fix issues found while testing. #651
This commit is contained in:
parent
e80ce9db66
commit
73f0e69b9a
1 changed files with 2 additions and 2 deletions
|
|
@ -4533,7 +4533,7 @@ class APIController extends Controller implements LoggedController
|
||||||
// check if hub has available slots
|
// check if hub has available slots
|
||||||
$hub_available = true;
|
$hub_available = true;
|
||||||
error_log('total rider slots ' . $total_rslots);
|
error_log('total rider slots ' . $total_rslots);
|
||||||
error_log('total unavailable slots ' . $total_unavailable_slots);
|
error_log('total unavailable slots ' . $total_unavailable_rslots);
|
||||||
if ($total_rslots == $total_unavailable_rslots)
|
if ($total_rslots == $total_unavailable_rslots)
|
||||||
{
|
{
|
||||||
error_log('hub has no available slots');
|
error_log('hub has no available slots');
|
||||||
|
|
@ -4541,7 +4541,7 @@ class APIController extends Controller implements LoggedController
|
||||||
}
|
}
|
||||||
|
|
||||||
$hs_data = [
|
$hs_data = [
|
||||||
'flag_hub_available' => $hub_unavailable,
|
'flag_hub_available' => $hub_available,
|
||||||
'slot_data' => $data,
|
'slot_data' => $data,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue