From fbbaa50c2103a458f5c952eed731580b92aa960b Mon Sep 17 00:00:00 2001 From: Maurier Ramirez Date: Sat, 7 Sep 2024 07:57:56 -0600 Subject: [PATCH] fix indentation (#225) --- dspback/dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dspback/dependencies.py b/dspback/dependencies.py index f06eea8..ef5351b 100644 --- a/dspback/dependencies.py +++ b/dspback/dependencies.py @@ -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)