diff --git a/src/lib/twitch.ts b/src/lib/twitch.ts index b585e83..8012180 100644 --- a/src/lib/twitch.ts +++ b/src/lib/twitch.ts @@ -66,8 +66,10 @@ export const createTwitchClient = () => { ); + const json = await twitchAuthResponse.json(); + console.log(json) const { access_token } = authBodyValidator.parse( - await twitchAuthResponse.json(), + json, ); return access_token;