Skip to content

Commit

Permalink
fix: Fixed take-screenshot router
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Jun 5, 2023
1 parent 13065c2 commit 992ba60
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/routes/index.ts
Expand Up @@ -832,7 +832,11 @@ routes.post(
upload.single('file'),
MiscController.restoreAllSessions
);
routes.get('/api/:session/take-screenshot', MiscController.takeScreenshot);
routes.get(
'/api/:session/take-screenshot',
verifyToken,
MiscController.takeScreenshot
);
routes.post('/api/:session/set-limit', MiscController.setLimit);

//Communitys
Expand Down

0 comments on commit 992ba60

Please sign in to comment.