Skip to content

Commit

Permalink
fix indentation (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurier authored Sep 7, 2024
1 parent 9001b85 commit fbbaa50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dspback/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ async def get_current_repository_token(
expiration_buffer: int = settings.access_token_expiration_buffer_seconds
now = int(datetime.utcnow().timestamp())

if now > repository_token.expires_at - expiration_buffer:
if now > repository_token.expires_at - expiration_buffer:
# Token has expired or is about to expire. Attempt to refresh it.
if repository_token.refresh_token:
client = getattr(oauth, repository)
Expand Down

0 comments on commit fbbaa50

Please sign in to comment.