Skip to content

Commit

Permalink
staff role to checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
aletya committed Sep 13, 2024
1 parent 9836ab3 commit 71ab9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/checkin/checkin-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const checkinRouter = Router();

checkinRouter.post(
"/scan/staff",
RoleChecker([Role.Enum.ADMIN]),
RoleChecker([Role.Enum.ADMIN, Role.Enum.STAFF]),
async (req, res, next) => {
try {
const { eventId, qrCode } = ScanValidator.parse(req.body);
Expand Down

0 comments on commit 71ab9ad

Please sign in to comment.