Add debug information on next slot #403
This commit is contained in:
parent
7abe34ee8b
commit
f059e2b981
1 changed files with 1 additions and 0 deletions
|
|
@ -3079,6 +3079,7 @@ class APIController extends Controller implements LoggedController
|
||||||
if ($mins > 10)
|
if ($mins > 10)
|
||||||
{
|
{
|
||||||
$next_slot_id = sprintf('%02d_$02d', $hour + 1, $hour + 2);
|
$next_slot_id = sprintf('%02d_$02d', $hour + 1, $hour + 2);
|
||||||
|
error_log("NEXT SLOT - $date_string - $slot_id");
|
||||||
// decrement rider slot
|
// decrement rider slot
|
||||||
if (isset($hub_rider_slots[$date_string][$next_slot_id]))
|
if (isset($hub_rider_slots[$date_string][$next_slot_id]))
|
||||||
$hub_rider_slots[$date_string][$next_slot_id]--;
|
$hub_rider_slots[$date_string][$next_slot_id]--;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue