Update: 2026-07-21 19:15:57

This commit is contained in:
Hamza-Ayed
2026-07-21 19:15:57 +03:00
parent ebd6f3734a
commit 096f6a13a0
+1 -9
View File
@@ -140,15 +140,7 @@ function sendNabehOtp(string $receiver, string $otp, string $method = '', string
$phoneRaw = preg_replace('/\D+/', '', $receiver);
// Map method/type (Text OTP is the default now)
$type = 'image';
if ($method === 'image') {
$type = 'image';
} elseif ($method === 'text') {
$type = 'text';
} else {
// If no method specified or if 'voice' was requested, force default to 'text'
$type = 'image';
}
$type = ($method === 'image') ? 'image' : 'text';
$appName = 'سيرو رايدر';
if ($user_type === 'driver') {