Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store OAuth global variables on initial auth (#49)
When setting up own OAuth config storage that fetching the values of `core.OAUTH_REFRESH` and `core.OAUTH_EXPIRES_AT` after running `trakt.init` wasn't working. Turns out that's because while they were being set, they were only being set locally. I made them global in `oauth_auth()` and `get_device_token()` and it's working now.
- Loading branch information