core-query-format-fix2

This commit is contained in:
Untone 2023-10-13 14:25:20 +03:00
parent a0fd78566b
commit 9c6f704c7c

View File

@ -26,7 +26,7 @@ async def get_author(author_id):
return None
async def get_network(author_id, limit=50, offset=0) -> list:
async def get_network(author_id:int, limit:int = 50, offset:int = 0) -> list:
gql = {
"query": "query LoadAuthors { authorFollowings(author_id: $author_id, limit: $limit, offset: $offset) { id slug userpic name } }",
"operation": "LoadAuthors",