This commit is contained in:
parent
c3a6ecd3ae
commit
be7bf90f0b
|
@ -37,10 +37,10 @@ async def get_all_authors() -> List[ChatMember]:
|
||||||
authors = await _request_endpoint(query_name, gql)
|
authors = await _request_endpoint(query_name, gql)
|
||||||
|
|
||||||
for a in authors:
|
for a in authors:
|
||||||
authors_by_user[a.user] = a
|
authors_by_user[a["user"]] = a
|
||||||
authors_by_id[a.id] = 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]:
|
async def get_my_followed() -> List[ChatMember]:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user