diff --git a/services/core.py b/services/core.py index 1410ada..0b3d366 100644 --- a/services/core.py +++ b/services/core.py @@ -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",