diff --git a/src/routes/auth.ts b/src/routes/auth.ts index 308c1662..defaf9ca 100644 --- a/src/routes/auth.ts +++ b/src/routes/auth.ts @@ -90,8 +90,8 @@ authRoute.get("/google/callback", googleAuthCallback); // ---------------------------Google Auth Route Ends------------------------- // -authRoute.post("/forgotPassword", forgotPassword); -authRoute.post("/resetPassword", resetPassword); +authRoute.post("/forgot-password", forgotPassword); +authRoute.post("/reset-password", resetPassword); authRoute.patch("/change-password", authMiddleware, changePassword); export { authRoute };