Browse Source

AuthAPI utility hotfix

Anton Moiseenko 1 year ago
parent
commit
3b405382ae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/utils/AuthAPI.py

+ 2 - 2
core/utils/AuthAPI.py

@@ -33,11 +33,11 @@ class AuthAPI:
     @property
     def token(self):
         if self._token is None:
-            self.__create_token()
+            self._create_token()
         return self._token
 
     @property
     def headers(self):
         if self._token is None:
-            self.__create_token()
+            self._create_token()
         return self._headers