Skip to content

Commit

Permalink
Merge pull request #289 from hngprojects/feat-authentication/update-u…
Browse files Browse the repository at this point in the history
…ser-password

chore: switched routes to kebab case
  • Loading branch information
incredible-phoenix246 authored Jul 24, 2024
2 parents 6f5412c + 2b14a4b commit 1790097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

0 comments on commit 1790097

Please sign in to comment.