Skip to content

Commit

Permalink
changing permission for change event
Browse files Browse the repository at this point in the history
  • Loading branch information
riyap committed Sep 15, 2024
1 parent de24277 commit 309c8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/events/events-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ eventsRouter.post(

eventsRouter.put(
"/:EVENTID",
RoleChecker([Role.Enum.ADMIN], true),
RoleChecker([Role.Enum.STAFF], true),
async (req, res, next) => {
const eventId = req.params.EVENTID;
try {
Expand Down

0 comments on commit 309c8a0

Please sign in to comment.