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

This commit is contained in:
Hamza-Ayed
2026-07-21 19:19:15 +03:00
parent 096f6a13a0
commit 0351bffafc
+2 -2
View File
@@ -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') {