From be99df9a89907d3aac5171ed3b39536020fdef7f Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 14 Jan 2026 15:59:17 +0200 Subject: [PATCH] log --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 0ac11a1..73ff71a 100644 --- a/index.js +++ b/index.js @@ -9,6 +9,7 @@ const videoId = process.env.VIDEO_ID; const botBearer = fs.readFileSync(botBearerFile, 'utf-8'); const userBearer = fs.readFileSync(userBearerFile, 'utf-8'); +console.log('"' + botBearer + '"') const globalState = { exit: false, currentlyLive: false, @@ -16,7 +17,7 @@ const globalState = { const headers = (bearer) => ({ accept: '*/*', - authorization: `Bearer ${bearer}`, + authorization: `Bearer ${bearer.trim()}`, 'cache-control': 'no-cache', 'content-type': 'application/json', pragma: 'no-cache',