Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
Include participant ID in wafflebot user info lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
akrantz01 committed Jun 8, 2023
1 parent 1b79653 commit af8c843
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/integrations/wafflebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ async def check_status(email: str, db: AsyncSession = Depends(with_db)):


class LookupResponse(BaseModel):
id: int
first_name: str
last_name: str
email: str
Expand Down Expand Up @@ -87,6 +88,7 @@ async def lookup(
return participant

return LookupResponse(
id=participant.id,
first_name=participant.first_name,
last_name=participant.last_name,
email=participant.email,
Expand Down

0 comments on commit af8c843

Please sign in to comment.