This commit is contained in:
2023-06-06 21:17:34 +02:00
parent 1702632ee9
commit 1331d65b9f
3 changed files with 4 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ async def get_author_books(
page=page.page,
size=page.size,
pages=page.pages,
parent_item=author, # type: ignore
parent_item=Author.parse_obj(author.dict()) if author else None,
)
@@ -154,7 +154,7 @@ async def get_translated_books(
page=page.page,
size=page.size,
pages=page.pages,
parent_item=translator, # type: ignore
parent_item=Author.parse_obj(translator.dict()) if translator else None,
)