otp issue fix

This commit is contained in:
Ritikesh yadav
2024-04-03 15:51:11 +05:30
parent 7ac14cff67
commit 2d07b77347

View File

@@ -212,7 +212,7 @@ class ProfileController extends Controller
$otp = rand(1000, 9999);
Session::put('contact_number', $request->newcontact_number);
Session::put('mobile_otp', $otp);
$this->thirdPartyOTP($request->contact_number, $otp);
$this->thirdPartyOTP($request->newcontact_number, $otp);
return response()->json([
'status' => 200,
'message' => 'OTP has been sent to your contact number',