Update: 2026-07-21 19:15:57
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user