From 6947665d90e89acdf7c46815322e46afd3b31842 Mon Sep 17 00:00:00 2001 From: Aydan Pirani Date: Tue, 16 Jul 2024 21:25:40 -0700 Subject: [PATCH] re-added role checing --- src/services/attendee/attendee-router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/attendee/attendee-router.ts b/src/services/attendee/attendee-router.ts index d6ba2fd..b68c441 100644 --- a/src/services/attendee/attendee-router.ts +++ b/src/services/attendee/attendee-router.ts @@ -157,7 +157,7 @@ attendeeRouter.get( // Get attendees based on a partial filter in body attendeeRouter.get( "/filter", - // RoleChecker([Role.Enum.STAFF, Role.Enum.CORPORATE]), + RoleChecker([Role.Enum.STAFF, Role.Enum.CORPORATE]), async (req, res, next) => { try { const attendeeData = AttendeeFilterValidator.parse(req.body);