Compare commits
5 Commits
dev
...
d80d97bb9b
| Author | SHA1 | Date | |
|---|---|---|---|
| d80d97bb9b | |||
| 19b8d7fb49 | |||
| 818affc74b | |||
| 93fe1beb2f | |||
| 8dc0781e96 |
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "oxidetwitch"
|
name = "oxidetwitch"
|
||||||
version = "1.2.5"
|
version = "1.2.3"
|
||||||
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" }]
|
||||||
|
|||||||
@ -93,9 +93,6 @@ 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
|
||||||
|
|
||||||
@ -569,7 +566,7 @@ class TwitchAPIClient(OxideHTTP):
|
|||||||
redemption_id: str | list[str],
|
redemption_id: str | list[str],
|
||||||
status: Literal['CANCELED', 'FULFILLED'],
|
status: Literal['CANCELED', 'FULFILLED'],
|
||||||
) -> bool:
|
) -> bool:
|
||||||
req = await self.patch(
|
req = await self.post(
|
||||||
'/channel_points/custom_rewards/redemptions',
|
'/channel_points/custom_rewards/redemptions',
|
||||||
headers=self._auth(access_token),
|
headers=self._auth(access_token),
|
||||||
params={
|
params={
|
||||||
|
|||||||
Reference in New Issue
Block a user