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

@ -10,7 +10,9 @@ const AuthRepository = {
resetPassword: (data) => api.post("/api/auth/reset-password", data),
forgotPassword: (data) => api.post("/api/auth/forgot-password", 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;