diff --git a/src/repositories/AuthRepository.jsx b/src/repositories/AuthRepository.jsx index 0ce0e973..503c07bc 100644 --- a/src/repositories/AuthRepository.jsx +++ b/src/repositories/AuthRepository.jsx @@ -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;