Compare commits

...

1 Commits

Author SHA1 Message Date
b1ba63c09b Фикс пагинации
Some checks failed
Verify Dev Build / publish (push) Has been cancelled
2026-04-24 19:09:02 +03:00
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[project] [project]
name = "oxidetwitch" name = "oxidetwitch"
version = "1.2.4" version = "1.2.5"
description = "Client for Twitch API" description = "Client for Twitch API"
readme = "README.md" readme = "README.md"
authors = [{ name = "Miwory", email = "miwory.uwu@gmail.com" }] authors = [{ name = "Miwory", email = "miwory.uwu@gmail.com" }]

View File

@ -93,6 +93,9 @@ class TwitchAPIClient(OxideHTTP):
if isinstance(result.pagination, s.Pagination): if isinstance(result.pagination, s.Pagination):
after = result.pagination.cursor after = result.pagination.cursor
else:
after = None
if after is None: if after is None:
break break