From 15a457bf65ad563943a2345d2982711c21de1baa Mon Sep 17 00:00:00 2001 From: John Costa Date: Mon, 30 Jun 2025 19:04:59 +0100 Subject: [PATCH] fix --- src/lib/twitch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/twitch.ts b/src/lib/twitch.ts index 8012180..ba5f7a3 100644 --- a/src/lib/twitch.ts +++ b/src/lib/twitch.ts @@ -51,7 +51,8 @@ export const createTwitchClient = () => { `?response_type=code` + `&client_id=${TWITCH_APP_CLIENT_ID}` + `&redirect_uri=${encodeURIComponent("https://twitch.johncosta.tech/redirect")}` + - `&scope=moderator:read:followers` + `&scope=moderator:read:followers` + + `&state=mkldsamkldsamkldsamkldsa` const twitchAuthResponse = @@ -67,7 +68,6 @@ export const createTwitchClient = () => { const json = await twitchAuthResponse.json(); - console.log(json) const { access_token } = authBodyValidator.parse( json, );