diff --git a/tbot/twitch_bot/tasks/youtube_chat.py b/tbot/twitch_bot/tasks/youtube_chat.py index 67d8a01..0d71e2a 100644 --- a/tbot/twitch_bot/tasks/youtube_chat.py +++ b/tbot/twitch_bot/tasks/youtube_chat.py @@ -173,6 +173,7 @@ async def youtube_request( 'update twitch_youtube set token=%s where channel_id=%s', (yt['access_token'], channel_id), ) + params['Authorization'] = f'Bearer {yt["access_token"]}' r = await client.request( method,