Merge pull request 'fix' (#51) from master into dev

Reviewed-on: #51
This commit is contained in:
emmatveev 2025-06-12 02:19:28 +03:00
commit 41080370c5

View File

@ -50,7 +50,7 @@ def call(command: str) -> Response:
def get_hosts() -> list[str]:
response = get(
f"http://configurator/api/v1/fetch?project=certupdater&stage={os.getenv("STAGE")}"
)
).json()
hosts = response["configs"]["hosts"]
return list(hosts)