Skip to content

Commit

Permalink
fix: add auth middleware to filters route
Browse files Browse the repository at this point in the history
  • Loading branch information
jakowenko committed Sep 20, 2021
1 parent c767aae commit d25c1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/routes/match.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ router
.get('/', jwt, validate([query('page').default(1).isInt()]), controller.get)
.delete('/', jwt, controller.delete);
router.patch('/reprocess/:matchId', jwt, controller.reprocess);
router.get('/filters', controller.filters);
router.get('/filters', jwt, controller.filters);

module.exports = router;

0 comments on commit d25c1fd

Please sign in to comment.