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, );