fix: create_client → get_client — POLYGON_ENDPOINT в main/api/runner (v1.2.27)
This commit is contained in:
@@ -104,6 +104,11 @@ def run_tests(endpoint, token):
|
||||
endpoint: str — URL API
|
||||
token: str — JWT-токен"""
|
||||
global _current_run
|
||||
# POLYGON_ENDPOINT проверяется в get_client(), здесь — прямой вызов для CLI
|
||||
import os
|
||||
polygon = os.getenv("POLYGON_ENDPOINT", "")
|
||||
if polygon:
|
||||
endpoint = polygon
|
||||
client = HttpClient(endpoint, token)
|
||||
config = load_config()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user