Fix issues found while testing. #651

This commit is contained in:
Korina Cordero 2022-03-24 05:50:02 +00:00
parent e80ce9db66
commit 73f0e69b9a

View file

@ -4533,7 +4533,7 @@ class APIController extends Controller implements LoggedController
// check if hub has available slots
$hub_available = true;
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)
{
error_log('hub has no available slots');
@ -4541,7 +4541,7 @@ class APIController extends Controller implements LoggedController
}
$hs_data = [
'flag_hub_available' => $hub_unavailable,
'flag_hub_available' => $hub_available,
'slot_data' => $data,
];