diff --git a/app/Http/Controllers/Frontend/ProfileController.php b/app/Http/Controllers/Frontend/ProfileController.php index beffff3..f90181e 100644 --- a/app/Http/Controllers/Frontend/ProfileController.php +++ b/app/Http/Controllers/Frontend/ProfileController.php @@ -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',