first commit

This commit is contained in:
2025-08-12 10:21:51 +03:00
parent 60b28bf122
commit 1242652728
11 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ class AsyncVikingClient:
api_response_json = await self._get_response_json(api_response)
max_pages = api_response_json.get("maxPages")
if max_pages:
if isinstance(max_pages, int):
return max_pages
else:
raise ApiException(await api_response.text())