Skip to content

Commit

Permalink
Allow check-in leads to confirm non-hackers (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
taesungh authored Jan 26, 2024
1 parent 5f9019c commit 5a4aeaa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/api/src/routers/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,10 @@ async def check_in_participant(
"/update-attendance/{uid}",
)
async def update_attendance(
uid: str, director: Annotated[User, Depends(require_role([Role.DIRECTOR]))]
uid: str,
director: Annotated[
User, Depends(require_role([Role.DIRECTOR, Role.CHECKIN_LEAD]))
],
) -> None:
"""Update status to Role.ATTENDING for non-hackers."""
try:
Expand Down

0 comments on commit 5a4aeaa

Please sign in to comment.