Skip to content

Commit

Permalink
add leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
CFenner committed Oct 15, 2024
1 parent b2315ed commit 54bfebe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions homeassistant/components/monzo/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def __init__(

async def async_get_access_token(self) -> str:
"""Return a valid access token."""
if not self._oauth_session.valid_token:
await self._oauth_session.async_ensure_token_valid()
await self._oauth_session.async_ensure_token_valid()

return str(self._oauth_session.token["access_token"])

0 comments on commit 54bfebe

Please sign in to comment.