Skip to content

Commit

Permalink
Fix auth checks for several methods
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-nebel committed Nov 28, 2023
1 parent 84049aa commit 7721a46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/modules/apiRequests/apiRequests.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const PUBLIC = [
path: "/getModuleInfo",
exec: [
checkAuth,
checkModuleAccess,
checkCertAccess,
(req, res) => getApiRequest("getModuleInfo", { req, res }),
],
},
Expand Down Expand Up @@ -113,7 +113,7 @@ const PUBLIC = [
path: "/getModuleFinal",
exec: [
checkAuth,
checkModuleAccess,
checkCertAccess,
(req, res) => getApiRequest("getModuleFinal", { req, res }),
],
},
Expand Down Expand Up @@ -143,7 +143,7 @@ const PUBLIC = [
path: "/getLessonsList",
exec: [
checkAuth,
checkModuleAccess,
checkCertAccess,
(req, res) => getApiRequest("getLessonsList", { req, res }),
],
},
Expand All @@ -153,7 +153,7 @@ const PUBLIC = [
path: "/getTasksList",
exec: [
checkAuth,
checkModuleAccess,
checkCertAccess,
(req, res) => getApiRequest("getTasksList", { req, res }),
],
},
Expand Down

0 comments on commit 7721a46

Please sign in to comment.