Merge pull request #5 from Sanderluc5/patch-1

Update cloudflare-ddns.py
This commit is contained in:
Tim Miller 2020-05-01 19:47:36 -04:00 committed by GitHub
commit 66bbbb5295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ def commitRecord(ip):
"proxied": c["proxied"]
}
list = cf_api(
"zones/" + c['zone_id'] + "/dns_records&per_page=100?type=" + ip["type"], "GET", c)
"zones/" + c['zone_id'] + "/dns_records?per_page=100&type=" + ip["type"], "GET", c)
full_subdomain = base_domain_name
if subdomain: