From 2b14a4b042d7801b90db5c470585a3477aa7673d Mon Sep 17 00:00:00 2001 From: phoenix Date: Wed, 24 Jul 2024 22:43:50 +0100 Subject: [PATCH] chore: switched routes to carmel case --- src/routes/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 };