Compare commits
5 Commits
dev
...
d80d97bb9b
| Author | SHA1 | Date | |
|---|---|---|---|
| d80d97bb9b | |||
| 19b8d7fb49 | |||
| 818affc74b | |||
| 93fe1beb2f | |||
| 8dc0781e96 |
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "oxidetwitch"
|
||||
version = "1.2.5"
|
||||
version = "1.2.3"
|
||||
description = "Client for Twitch API"
|
||||
readme = "README.md"
|
||||
authors = [{ name = "Miwory", email = "miwory.uwu@gmail.com" }]
|
||||
|
||||
@ -93,9 +93,6 @@ class TwitchAPIClient(OxideHTTP):
|
||||
if isinstance(result.pagination, s.Pagination):
|
||||
after = result.pagination.cursor
|
||||
|
||||
else:
|
||||
after = None
|
||||
|
||||
if after is None:
|
||||
break
|
||||
|
||||
@ -569,7 +566,7 @@ class TwitchAPIClient(OxideHTTP):
|
||||
redemption_id: str | list[str],
|
||||
status: Literal['CANCELED', 'FULFILLED'],
|
||||
) -> bool:
|
||||
req = await self.patch(
|
||||
req = await self.post(
|
||||
'/channel_points/custom_rewards/redemptions',
|
||||
headers=self._auth(access_token),
|
||||
params={
|
||||
|
||||
Reference in New Issue
Block a user