Skip to content

Commit

Permalink
fix based on requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
YogevBokobza committed Aug 27, 2024
1 parent 925609e commit 7bcbb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aioswitcher/device/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ async def validate_token(username: str, token: str) -> bool:
request_data = {"email": username, "token": token}
is_token_valid = False
# Preload the SSL context
ssl_context = ssl.create_default_context()
ssl_context = ssl.SSLContext()

logger.debug("calling API call for Switcher to validate the token")

Expand Down

0 comments on commit 7bcbb9e

Please sign in to comment.