diff --git a/app/Http/Controllers/AuthController.php b/app/Http/Controllers/AuthController.php index 3f86c81..f9e3054 100644 --- a/app/Http/Controllers/AuthController.php +++ b/app/Http/Controllers/AuthController.php @@ -818,7 +818,7 @@ class AuthController extends Controller if ($userEmailOtpData) { $otp = rand(1000,9999); $this->thirdPartyOTP($userEmailOtpData->contact_number, $otp); - RegistrationOtp::where('email', $emailToAdd)->update(['contact_otp'=>$otp ,'contact_expire_at'=>Carbon::now()->addMinutes(2)]); + RegistrationOtp::where('email', $emailToAdd)->update(['contact_otp'=>$otp ,'contact_expire_at'=>Carbon::now()->addMinutes('2')]); return response()->json(['status' => 200, 'message' => 'Email OTP verified Successfully']); } }