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)