sharkiq
sharkiq copied to clipboard
`_set_credentials()` Error Checking
This method explicitly checks for two specific error codes and assumes any other response was successful. It should likely raise a more generic exception if any other error code is passed. (View context)
The _set_credentials()
method in ayla_api.py is affected.