diff --git a/src/routes/v1/auth.route.ts b/src/routes/v1/auth.route.ts index 625ea8d..ffb2992 100644 --- a/src/routes/v1/auth.route.ts +++ b/src/routes/v1/auth.route.ts @@ -9,7 +9,7 @@ const router = express.Router(); // Routes router.get('/discord/authorize', authController.discordAuthorize); router.get('/discord/authorize/callback', authController.discordAuthorizeCallback); -router.get('/telegram/authorize/callback', authController.discordAuthorizeCallback); +router.get('/telegram/authorize/callback', authController.telegramAuthorizeCallback); router.post('/generate-token', auth(), validate(authValidation.generateToken), authController.generateToken); router.post('/logout', validate(authValidation.logout), authController.logout);