This commit is contained in:
@@ -37,10 +37,10 @@ async def get_all_authors() -> List[ChatMember]:
|
||||
authors = await _request_endpoint(query_name, gql)
|
||||
|
||||
for a in authors:
|
||||
authors_by_user[a.user] = a
|
||||
authors_by_id[a.id] = a
|
||||
authors_by_user[a["user"]] = a
|
||||
authors_by_id[a["id"]] = a
|
||||
|
||||
return authors_by_id.values()
|
||||
return list(authors_by_id.values())
|
||||
|
||||
|
||||
async def get_my_followed() -> List[ChatMember]:
|
||||
|
Reference in New Issue
Block a user