Skip to content

Conversation

@kristiankralovic
Copy link
Contributor

If no external storage for the token is used, the API does not work, as it attempts to fetch the token from OAuth. First, self.storage.load() is called, but the token is not yet an attribute of the storage. This fix first checks if the token attribute exists. If not, a request to OAuth will be sent, and the current token will be loaded.

Copy link
Collaborator

@MatejHamala MatejHamala left a comment

Choose a reason for hiding this comment

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

🐞

@kristiankralovic kristiankralovic merged commit e411332 into master Dec 9, 2024
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.

3 participants