Update: 2026-07-21 19:19:15
This commit is contained in:
@@ -139,8 +139,8 @@ function sendNabehOtp(string $receiver, string $otp, string $method = '', string
|
||||
// Strip symbols for Nabeh endpoint
|
||||
$phoneRaw = preg_replace('/\D+/', '', $receiver);
|
||||
|
||||
// Map method/type (Text OTP is the default now)
|
||||
$type = ($method === 'image') ? 'image' : 'text';
|
||||
// Map method/type (Image OTP card is default for Nabeh)
|
||||
$type = ($method === 'text') ? 'text' : (($method === 'voice') ? 'voice' : 'image');
|
||||
|
||||
$appName = 'سيرو رايدر';
|
||||
if ($user_type === 'driver') {
|
||||
|
||||
Reference in New Issue
Block a user