Skip to content

Commit

Permalink
Fix ferrying oops
Browse files Browse the repository at this point in the history
  • Loading branch information
trickeydan committed Oct 3, 2024
1 parent 48686a9 commit ff4e2a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kmibot/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ class PersonWithScoreSchema(PersonSchema):
class PersonLinkSchema(BaseModel):
id: UUID
display_name: str

class PersonLinkWithDiscordSchema(PersonLinkSchema):
discord_id: int | None


class ConsequenceLinkSchema(BaseModel):
id: UUID
content: str
Expand Down Expand Up @@ -92,7 +93,7 @@ class PubEventSchema(BaseModel):
pub: UUID
discord_id: int | None
table: PubTableSchema | None
attendees: list[PersonLinkSchema]
attendees: list[PersonLinkWithDiscordSchema]


class FerryAPI:
Expand Down

0 comments on commit ff4e2a4

Please sign in to comment.