core-query-format-fix2
This commit is contained in:
parent
a0fd78566b
commit
9c6f704c7c
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user