Skip to content

Commit

Permalink
fix validation error, add ACCEPTED to get_hackers
Browse files Browse the repository at this point in the history
  • Loading branch information
samderanova committed Jan 24, 2024
1 parent 427abf8 commit cfcb156
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/api/src/admin/participant_manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from logging import getLogger
from typing import Any, Optional
from typing import Any, Optional, Union

from auth.user_identity import User, utc_now
from models.ApplicationData import Decision
Expand All @@ -15,7 +15,7 @@ class Participant(UserRecord):

first_name: str
last_name: str
status: Status
status: Union[Status, Decision]


async def get_hackers() -> list[Participant]:
Expand All @@ -30,6 +30,7 @@ async def get_hackers() -> list[Participant]:
Status.ATTENDING,
Status.WAIVER_SIGNED,
Status.CONFIRMED,
Decision.ACCEPTED,
Decision.WAITLISTED,
]
},
Expand Down

0 comments on commit cfcb156

Please sign in to comment.