Skip to content

Debug Access Token Refresh#43

Merged
thehabes merged 10 commits intomainfrom
01-29-24-token-debug
Jan 30, 2024
Merged

Debug Access Token Refresh#43
thehabes merged 10 commits intomainfrom
01-29-24-token-debug

Conversation

@thehabes
Copy link
Copy Markdown
Member

No description provided.

@thehabes thehabes self-assigned this Jan 29, 2024
@thehabes thehabes marked this pull request as ready for review January 29, 2024 18:48
@thehabes thehabes marked this pull request as draft January 29, 2024 20:08
@thehabes thehabes marked this pull request as ready for review January 30, 2024 18:39
Comment thread package.json
"dotenv-expand": "^8.0.1",
"envfile": "^7.1.0",
"express": "^4.18.2",
"got": "^11.8.3",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#18 should have a corollary to get out of got() as well.

Comment thread tokens.js
let env_file_obj = parse(data)
env_file_obj.ACCESS_TOKEN = tokenObject.access_token
await fs.writeFile('./.env', stringify(env_file_obj))
console.log("TinyNode now has an updated access token.")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works locally here, I hope the runners can do the same. We don't have a test for this either, which should just test the file access, methinks.

@thehabes thehabes merged commit 2cca250 into main Jan 30, 2024
@thehabes thehabes deleted the 01-29-24-token-debug branch May 21, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants