Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: token is invalid or expired #26

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Conversation

martinohansen
Copy link
Contributor

The refresh goroutine was stopped immediately after starting, fix that logic error to refresh the token in the background after half the access token lifetime.

Fixes martinohansen/ynabber#97

The refresh goroutine was stopped immediately after starting, fix that
logic error to refresh the token in the background after half the access
token lifetime.

Fixes martinohansen/ynabber#97
@martinohansen
Copy link
Contributor Author

@frieser I'm tagging you since I can't add reviewers it seems. Let me know your thoughts on this.

@frieser
Copy link
Owner

frieser commented Dec 13, 2024

Hi @martinohansen , I cant test it right now, but it seems good to me reviewing the code.

@frieser frieser merged commit 3683fd6 into frieser:main Dec 13, 2024
1 check passed
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.

Panic invalid token every 24 hours
2 participants