Skip to content

Commit

Permalink
fix: get registration activity permission
Browse files Browse the repository at this point in the history
  • Loading branch information
pbc1017 committed Mar 14, 2024
1 parent d9400b0 commit 05c84e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion back/routes/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ router.get("/getActivity/:activityId", async (req, res) => {
const authorized = await checkPermission(req, res, [
{ club_rep: 4, club_id: activity.club_id },
{ advisor: activity.club_id },
// { executive: 4 },
{ executive: 4 },
]);
if (!authorized) {
return;
Expand Down

0 comments on commit 05c84e1

Please sign in to comment.