Refactor account module

This commit is contained in:
Ivan Kravets committed 2022-05-30 21:00:22 +03:00
1 parent 1f75430fab
commit 4aebf8c9d7
22 files changed
+496 -286

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ class HTTPClient(object):
)
if with_authorization and "Authorization" not in headers:
# pylint: disable=import-outside-toplevel
from platformio.clients.account import AccountClient
from platformio.account.client import AccountClient
headers["Authorization"] = (
"Bearer %s" % AccountClient().fetch_authentication_token()