Skip to content

Commit

Permalink
docs(auth): updated API documentation for forget and reset password
Browse files Browse the repository at this point in the history
  • Loading branch information
bammietop03 committed Jul 24, 2024
1 parent 8297fc5 commit 189617f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/AuthController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const login = async (req: Request, res: Response, next: NextFunction) => {

/**
* @swagger
* /auth/forgot-password:
* /api/v1/auth/forgotPassword:
* post:
* summary: Request a password reset
* description: Allows a user to request a password reset link by providing their email address.
Expand Down Expand Up @@ -217,7 +217,7 @@ const forgotPassword = async (

/**
* @swagger
* /auth/reset-password:
* /api/v1/auth/resetPassword:
* post:
* summary: Reset a user's password
* description: Allows a user to reset their password by providing a valid reset token and a new password.
Expand Down

0 comments on commit 189617f

Please sign in to comment.