Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix token expiration check #46

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Fix token expiration check #46

merged 1 commit into from
Mar 29, 2024

Conversation

cjaliaga
Copy link
Owner

This pull request includes a change to the is_logged method in the aioaquarea/core.py file. The change adds a condition to handle cases where there is no token expiration time, in which case the method assumes the token is valid.

In more detail:

  • aioaquarea/core.py: In the is_logged method, added a condition to handle cases where _token_expiration is None. In such cases, the method now returns True, assuming that the token is valid.

@cjaliaga cjaliaga added the bug Something isn't working label Mar 29, 2024
@cjaliaga cjaliaga merged commit 302ba04 into main Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant