Skip to content

Commit

Permalink
fix: move kwargs to correct spot
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev committed Jan 4, 2025
1 parent 2015666 commit 7c1a0a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,9 +555,9 @@ async def search_clans(
if isinstance(x, (Label, int,))]),
limit=limit,
before=before,
after=after
after=after,
**{**self._defaults, **kwargs}
)
kwargs = {**self._defaults, **kwargs}
return [cls(data=n, client=self, **kwargs) for n in data.get("items", [])]


Expand Down

0 comments on commit 7c1a0a9

Please sign in to comment.