This commit is contained in:
Hamza-Ayed
2026-04-29 01:00:29 +03:00
parent f2ee38ccee
commit 10d69033dd
5 changed files with 33 additions and 5 deletions

View File

@@ -60,6 +60,8 @@ function findBestDrivers($con, $lat, $lng, $carType) {
$info = curl_getinfo($ch);
curl_close($ch);
error_log("[findBestDrivers] HTTP Code: " . $info['http_code'] . " Response: " . $response);
if ($info['http_code'] !== 200) return [];
$json = json_decode($response, true);