From d0784dac2229d4dfe7ed2c2e4b49c3c78f6410eb Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 14 Jan 2026 16:34:13 +0200 Subject: [PATCH] oops --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 7f49a5d..923c91b 100644 --- a/index.js +++ b/index.js @@ -6,8 +6,8 @@ const userBearerFile = process.env.USER_BEARER_FILE; const instance = process.env.INSTANCE || 'shigusegubu.club'; const videoId = process.env.VIDEO_ID; -// const botBearer = fs.readFileSync(botBearerFile, 'utf-8'); -// const userBearer = fs.readFileSync(userBearerFile, 'utf-8'); +const botBearer = fs.readFileSync(botBearerFile, 'utf-8'); +const userBearer = fs.readFileSync(userBearerFile, 'utf-8'); const globalState = { exit: false, @@ -43,7 +43,7 @@ const app = await fetch(`https://${instance}/api/v1/apps`, { //const { client_id, client_secret } = await app.json() //console.log({ client_id, client_secret }) -/* */ +/* const bearer = await fetch(`https://${instance}/oauth/token`, { headers: { accept: 'application/json',