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

Check for pairing rather than responding to 401 error #43

Open
krisgesling opened this issue Mar 9, 2021 · 0 comments
Open

Check for pairing rather than responding to 401 error #43

krisgesling opened this issue Mar 9, 2021 · 0 comments

Comments

@krisgesling
Copy link
Contributor

As noted in:
#42

We currently catch a 401 error returned by the server error. Should really be checking if the device is paired before attempting to make a call. Or disable intents unless the device is paired.

If a user is using their own API key this would not be required. Need to handle both scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant