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

Commit af8c843

Browse files
committed
Include participant ID in wafflebot user info lookup
1 parent 1b79653 commit af8c843

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/integrations/wafflebot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ async def check_status(email: str, db: AsyncSession = Depends(with_db)):
5353

5454

5555
class LookupResponse(BaseModel):
56+
id: int
5657
first_name: str
5758
last_name: str
5859
email: str
@@ -87,6 +88,7 @@ async def lookup(
8788
return participant
8889

8990
return LookupResponse(
91+
id=participant.id,
9092
first_name=participant.first_name,
9193
last_name=participant.last_name,
9294
email=participant.email,

0 commit comments

Comments
 (0)