diff --git a/backend/controllers/timeLogs.js b/backend/controllers/timeLogs.js index 7d72abdd..0efe78f8 100644 --- a/backend/controllers/timeLogs.js +++ b/backend/controllers/timeLogs.js @@ -171,7 +171,7 @@ const fetchAllFromDb = async () => { timeLogsRouter.get('/', checkLogin, async (req, res) => { try { - if (req.user.admin || req.user.instructor) { + if (req.user.admin) { const timeLogs = await fetchAllFromDb() return res.status(200).json(timeLogs) }