Skip to content

Commit

Permalink
fix: fixes an error in the biographies bulk retrieval
Browse files Browse the repository at this point in the history
fixes #205
  • Loading branch information
sennierer committed Oct 20, 2023
1 parent 9776346 commit 91a7960
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions intavia_backend/models_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,11 @@ class PaginatedResponseMedia(PaginatedResponseBase):
results: typing.List[MediaResource] = []


class PaginatedResponseBiography(PaginatedResponseBase):
results: typing.List[Biography] = []
class PaginatedResponseBiography(BaseModel):
count: NonNegativeInt = 0
page: NonNegativeInt = 0
pages: NonNegativeInt = 0
results: typing.List["Biography"] = []


class PaginatedResponseEvents(PaginatedResponseBase):
Expand Down

0 comments on commit 91a7960

Please sign in to comment.