added send and verify OTP api

This commit is contained in:
Pramod Mahajan 2025-06-07 17:40:24 +05:30
parent def6524566
commit beeba834e2

View File

@ -11,6 +11,8 @@ const AuthRepository = {
forgotPassword: (data) => api.post("/api/auth/forgot-password", data), forgotPassword: (data) => api.post("/api/auth/forgot-password", data),
sendMail: (data) => api.post("/api/auth/sendmail", data), sendMail: (data) => api.post("/api/auth/sendmail", data),
changepassword: ( data ) => api.post( "/api/auth/change-password", data ), changepassword: ( data ) => api.post( "/api/auth/change-password", data ),
sendOTP: ( data ) => api.post( 'api/auth/send-otp', data ),
verifyOTP:(data)=>api.post("api/auth/login-otp",data)
}; };
export default AuthRepository; export default AuthRepository;