Housekeeping fix to pass the token in through click, instead of assuming its going to get picked correctly.
All checks were successful
Build Docker Image / build (push) Successful in 1m23s

This commit is contained in:
Tim AtLee
2025-03-17 08:15:11 -06:00
parent daed7b92b4
commit b6d64bd6ae
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ load_dotenv()
prompt="Enter your Cloudflare Token",
hide_input=True,
show_envvar=True,
envvar='CF_DDNS_TOKEN',
help="Your Cloudflare Bearer token."
)
@click.option('-v', '--verbose', is_flag=True, default=False, help="Show debug logging.")

View File

@ -114,7 +114,7 @@ class ApplicationJob(threading.Thread):
domain = Domain(
record_json["name"],
record_json["type"],
record_json["zone_id"],
zone_json["id"],
record_json["id"]
)
found_domains[f'{record_json["name"]}-{record_json["type"]}'] = domain