From 7c1a0a9559fe474afd75e6c3ea20a86045abbcd2 Mon Sep 17 00:00:00 2001 From: MagicTheDev Date: Sat, 4 Jan 2025 10:11:56 -0600 Subject: [PATCH] fix: move kwargs to correct spot --- coc/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coc/client.py b/coc/client.py index d5e7dfa0..ed2e39a4 100644 --- a/coc/client.py +++ b/coc/client.py @@ -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", [])]