From 9c6f704c7c644148e979ab5509ec458574513a33 Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 13 Oct 2023 14:25:20 +0300 Subject: [PATCH] core-query-format-fix2 --- services/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",