Skip to content

Commit

Permalink
all sessions change
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcoombs2000 committed Feb 24, 2024
1 parent ce37ae6 commit 2196309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/TrainingController.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ router.get('/request/:date', getUser, auth(['atm', 'datm', 'ta', 'ins', 'mtr', '
return res.json(res.stdRes);
});

router.get('/session/all', getUser, auth(['atm', 'datm', 'ta', 'wm']), async (req, res) => {
router.get('/session/all', getUser, auth(['atm', 'datm', 'ta', 'wm', 'ins', 'mtr']), async (req, res) => {
try {
const sessions = await TrainingSession.find({
deleted: false,
Expand Down

0 comments on commit 2196309

Please sign in to comment.