Skip to content

Commit

Permalink
Merge pull request #19 from Trevypants/develop
Browse files Browse the repository at this point in the history
refactor: remove access token refresh on client init
  • Loading branch information
Trevypants authored Jun 10, 2024
2 parents bf0281f + 8da6e6c commit 085f361
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pyrevolut/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,10 +679,6 @@ def load_credentials(self):
if self.credentials.credentials_expired:
raise ValueError(f"Credentials are expired. {solution_msg}")

# Check if the access token is expired
if self.credentials.access_token_expired:
self.refresh_access_token()

def save_credentials(self):
"""Save the credentials to the credentials file."""
if self.custom_save_fn is not None:
Expand Down

0 comments on commit 085f361

Please sign in to comment.