bugs fixinge

This commit is contained in:
meghamalore
2024-06-05 14:50:05 +05:30
parent 0238cf2b10
commit b5ab049c0a

View File

@@ -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']);
}
}