From 26238454738f76bfa5052af18a317b8fb786448a Mon Sep 17 00:00:00 2001 From: John Costa Date: Mon, 30 Jun 2025 19:03:49 +0100 Subject: [PATCH] fix --- src/lib/twitch.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;