Skip to content

Commit

Permalink
remove unused parameters from refresh token call
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Dec 10, 2024
1 parent e8e53f6 commit 837a5ee
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions custom_components/polestar_api/pypolestar/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,6 @@ async def get_token(self, refresh=False) -> None:
"grant_type": "refresh_token",
"client_id": OIDC_CLIENT_ID,
"refresh_token": self.refresh_token,
"redirect_uri": OIDC_REDIRECT_URI,
**(
{
"code_verifier": self.code_verifier,
}
if self.code_verifier
else {}
),
}
else:
return
Expand Down

0 comments on commit 837a5ee

Please sign in to comment.