From fd226a43acc5ca30aa1810a1156f8fcc6e7c9590 Mon Sep 17 00:00:00 2001 From: Abdul Rahman Reza Date: Wed, 27 Nov 2024 18:25:49 +0700 Subject: [PATCH] new api update password from reset password --- src/routes/public.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/public.ts b/src/routes/public.ts index 0797b46..29f7dd1 100644 --- a/src/routes/public.ts +++ b/src/routes/public.ts @@ -8,7 +8,7 @@ export class RoutePublic { app.post('/api/login', AuthController.login) app.put('/api/reset_password/:email', AuthController.resetPassword) - app.put('/api/update_password/:token', UserController.updatePassword) + app.put('/api/update_password/:token', AuthController.updatePassword) app.put('/api/logout/:refresh_token', AuthController.logout) app.put('/api/renew_token/:refresh_token', AuthController.renewToken)