Skip to content

Commit

Permalink
fix get_members
Browse files Browse the repository at this point in the history
  • Loading branch information
AumJavalgikar committed Jan 14, 2025
1 parent 54f2b24 commit 332e11f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ async def get_members(self, clan_tag: str, *, limit: int = 0, after: str = "", b
args['ignore_cached_errors'] = kwargs.get("ignore_cached_errors", self.ignore_cached_errors)

data = await self.http.get_clan_members(clan_tag, **args)
return [cls(data=mdata, client=self, **kwargs) for mdata in data.get("memberList", [])]
return [cls(data=mdata, client=self, **kwargs) for mdata in data.get("items", [])]

async def get_war_log(
self,
Expand Down

0 comments on commit 332e11f

Please sign in to comment.