diff --git a/backend/src/middlewares/participant.middleware.ts b/backend/src/middlewares/participant.middleware.ts index 0e18c87..99b65d9 100644 --- a/backend/src/middlewares/participant.middleware.ts +++ b/backend/src/middlewares/participant.middleware.ts @@ -106,7 +106,7 @@ export const withValidParticipantRole = async (req: Request, res: Response, next } // Validate the role against the ParticipantRole enum - const isRoleValid = role === ParticipantRole.MODERATOR || role === ParticipantRole.PUBLISHER; + const isRoleValid = role === ParticipantRole.MODERATOR || role === ParticipantRole.SPEAKER; if (!isRoleValid) { const error = errorInvalidParticipantRole();