Update: 2026-06-25 00:05:45
This commit is contained in:
@@ -132,14 +132,14 @@ function sendNabehOtp(string $receiver, string $otp, string $method = '', string
|
|||||||
$phoneRaw = preg_replace('/\D+/', '', $receiver);
|
$phoneRaw = preg_replace('/\D+/', '', $receiver);
|
||||||
|
|
||||||
// Map method/type (Text OTP is the default now)
|
// Map method/type (Text OTP is the default now)
|
||||||
$type = 'text';
|
$type = 'image';
|
||||||
if ($method === 'image') {
|
if ($method === 'image') {
|
||||||
$type = 'image';
|
$type = 'image';
|
||||||
} elseif ($method === 'text') {
|
} elseif ($method === 'text') {
|
||||||
$type = 'text';
|
$type = 'text';
|
||||||
} else {
|
} else {
|
||||||
// If no method specified or if 'voice' was requested, force default to 'text'
|
// If no method specified or if 'voice' was requested, force default to 'text'
|
||||||
$type = 'text';
|
$type = 'image';
|
||||||
}
|
}
|
||||||
|
|
||||||
$appName = 'سيرو رايدر';
|
$appName = 'سيرو رايدر';
|
||||||
|
|||||||
Reference in New Issue
Block a user