diff --git a/pyproject.toml b/pyproject.toml index 3726fb0..18fb659 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "oxidetwitch" -version = "1.2.0" +version = "1.2.1" 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 860ba19..ab082ad 100644 --- a/src/oxidetwitch/api.py +++ b/src/oxidetwitch/api.py @@ -23,7 +23,7 @@ class TwitchAPIClient(OxideHTTP): redis_url: str | None = None, proxy_url: str | None = None, ) -> None: - self.base_uri = 'https://api.twitch.tv/helix' + self.base_uri = 'https://api.twitch.tv/helix/' self.client_id = client_id self.client_secret = client_secret self.redirect_uri = redirect_uri diff --git a/src/oxidetwitch/auth.py b/src/oxidetwitch/auth.py index 2c99fd2..92ef635 100644 --- a/src/oxidetwitch/auth.py +++ b/src/oxidetwitch/auth.py @@ -16,7 +16,7 @@ class TwitchAuthClient(OxideHTTP): redis_url: str | None = None, proxy_url: str | None = None, ) -> None: - self.base_uri = 'https://id.twitch.tv/oauth2' + self.base_uri = 'https://id.twitch.tv/oauth2/' self.client_id = client_id self.client_secret = client_secret self.redirect_uri = redirect_uri