fastify-load-authors-2
All checks were successful
Deploy on push / deploy (push) Successful in 49s

This commit is contained in:
2024-04-30 12:35:51 +03:00
parent ab6ef76a34
commit a7f163009e
3 changed files with 5 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ async def get_author_id(_, _info, user: str):
@query.field("load_authors_by")
def load_authors_by(_, _info, by, limit, offset):
async def load_authors_by(_, _info, by, limit, offset):
logger.debug(f"loading authors by {by}")
q = select(Author)
if by.get("slug"):