From beeba834e256458b8d6f80c3eff9d5980b8f81f2 Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Sat, 7 Jun 2025 17:40:24 +0530 Subject: [PATCH] added send and verify OTP api --- src/repositories/AuthRepository.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;