Патч
All checks were successful
Build And Push / publish (push) Successful in 1m5s

This commit is contained in:
2025-10-20 10:05:02 +03:00
parent e0d7ab5442
commit 44ed7796ab

View File

@ -16,10 +16,7 @@ from . import schema as s
class TMK_API(AsyncClient): class TMK_API(AsyncClient):
def __init__(self): def __init__(self):
self.logger = getLogger(__name__) self.logger = getLogger(__name__)
super().__init__( super().__init__(base_url=settings.TMK_BASE_URL, verify=False)
base_url=settings.TMK_BASE_URL,
verify=False
)
async def get_token(self): async def get_token(self):
token = cache.get('tmk_token') token = cache.get('tmk_token')