Skip to content

Commit

Permalink
fix: fix the controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Jan 21, 2025
1 parent b355dcf commit a7ec3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/v1/auth.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a7ec3df

Please sign in to comment.