resolvers-renamed
Some checks failed
deploy / deploy (push) Failing after 1m7s

This commit is contained in:
2023-11-28 11:33:50 +03:00
parent 493f6106ab
commit 15139249f1
8 changed files with 34 additions and 34 deletions

View File

@@ -8,8 +8,8 @@ async def check_auth(req):
headers = {"Authorization": token, "Content-Type": "application/json"} # "Bearer " + removed
print(f"[services.auth] checking auth token: {token}")
query_name = "getSession" if "v2." in AUTH_URL else "session"
query_type = "mutation" if "v2." in AUTH_URL else "query"
query_name = "session"
query_type = "query"
operation = "GetUserId"
gql = {

View File

@@ -34,10 +34,10 @@ async def get_all_authors() -> List[ChatMember]:
return []
async def get_my_followings() -> List[ChatMember]:
query_name = "loadMySubscriptions"
async def get_my_followed() -> List[ChatMember]:
query_name = "get_my_followed"
query_type = "query"
operation = "LoadMySubscriptions"
operation = "GetMyFollowed"
query_fields = "id slug pic name"
gql = {