From 636ce6f914b0d7ccfbbfbbf48c0b7a2f7f00f25a Mon Sep 17 00:00:00 2001 From: Miwory Date: Fri, 19 Dec 2025 23:24:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D1=82=D0=B8=D0=BF=20=D0=B4=D0=B0=D0=BD=D0=BD?= =?UTF-8?q?=D1=8B=D1=85=20=D0=B4=D0=BB=D1=8F=20=D0=BE=D0=B1=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=81=D1=82=D0=B0=D1=82?= =?UTF-8?q?=D1=83=D1=81=D0=B0=20=D0=BD=D0=B0=D0=B3=D1=80=D0=B0=D0=B4=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- src/twitchclient/api.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 03abc0a..a891b08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "twitchclient" -version = "1.0.6" +version = "1.0.7" description = "Client for Twitch API" readme = "README.md" authors = [ diff --git a/src/twitchclient/api.py b/src/twitchclient/api.py index a494a53..5fd92bc 100644 --- a/src/twitchclient/api.py +++ b/src/twitchclient/api.py @@ -631,8 +631,8 @@ class TwitchAPIClient(AioHTTPXClient): self, access_token: str, broadcaster_id: int, - reward_id: int, - redemption_id: int | list[int], + reward_id: str, + redemption_id: str | list[str], status: Literal['CANCELED', 'FULFILLED'], ): req = await self.post( -- 2.47.2