This commit is contained in:
@@ -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 = {
|
||||
|
@@ -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 = {
|
||||
|
Reference in New Issue
Block a user