diff --git a/pyproject.toml b/pyproject.toml index 4b3b52a..05653f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "oxidetwitch" -version = "1.2.4" +version = "1.2.5" description = "Client for Twitch API" readme = "README.md" authors = [{ name = "Miwory", email = "miwory.uwu@gmail.com" }] diff --git a/src/oxidetwitch/api.py b/src/oxidetwitch/api.py index 5a5875c..91d17d1 100644 --- a/src/oxidetwitch/api.py +++ b/src/oxidetwitch/api.py @@ -93,6 +93,9 @@ class TwitchAPIClient(OxideHTTP): if isinstance(result.pagination, s.Pagination): after = result.pagination.cursor + else: + after = None + if after is None: break