oops
This commit is contained in:
parent
82c09f59da
commit
d0784dac22
1 changed files with 3 additions and 3 deletions
6
index.js
6
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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue