diff --git a/main.py b/main.py index 7cb03e4..ac391ff 100644 --- a/main.py +++ b/main.py @@ -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)