Compare commits

...

2 Commits

Author SHA1 Message Date
5b0a3517ee Merge pull request '1.2.4' (#6) from dev into latest
All checks were successful
Build And Publish Package / publish (push) Successful in 51s
Reviewed-on: #6
2026-03-19 20:18:46 +03:00
cddbe4c08f Фикс update_redemption_status
All checks were successful
Verify Dev Build / publish (push) Successful in 1m15s
2026-03-19 20:17:59 +03:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[project] [project]
name = "oxidetwitch" name = "oxidetwitch"
version = "1.2.3" version = "1.2.4"
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

@ -566,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.post( req = await self.patch(
'/channel_points/custom_rewards/redemptions', '/channel_points/custom_rewards/redemptions',
headers=self._auth(access_token), headers=self._auth(access_token),
params={ params={