From 4f786535960443701b033417d28c7f03355ba8c9 Mon Sep 17 00:00:00 2001 From: Miwory Date: Sun, 8 Mar 2026 18:04:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D1=83=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=20EventSub?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- src/oxidetwitch/api.py | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c8af444..553c632 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "oxidetwitch" -version = "1.2.2" +version = "1.2.3" description = "Client for Twitch API" readme = "README.md" authors = [{ name = "Miwory", email = "miwory.uwu@gmail.com" }] diff --git a/src/oxidetwitch/api.py b/src/oxidetwitch/api.py index ab082ad..9ce1ed3 100644 --- a/src/oxidetwitch/api.py +++ b/src/oxidetwitch/api.py @@ -1470,12 +1470,14 @@ class TwitchAPIClient(OxideHTTP): '/eventsub/subscriptions', s.EventsubBaseSubscriptions, self._auth(access_token), - { - 'status': status, - 'type': sub_type, - 'user_id': user_id, - 'subscription_id': subscription_id, - }, + self.clean_dict( + { + 'status': status, + 'type': sub_type, + 'user_id': user_id, + 'subscription_id': subscription_id, + } + ), cache_ttl, ): for item in data.data: