mirror of
https://github.com/Akarys42/cloudflare-ddns-docker.git
synced 2025-07-27 03:11:29 -06:00
Update to match recent Cloudflare API changes (Closes #4)
This commit is contained in:
@ -50,7 +50,7 @@ Feel free to select the method fitting your setup the best!
|
||||
|
||||
### Getting a Cloudflare Token
|
||||
|
||||
The first step will be to create an API token with the following scopes:
|
||||
The first step will be to create a user API token with the following scopes:
|
||||
- `Zone:Read`
|
||||
- `DNS:Edit`
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,2 +1,2 @@
|
||||
requests~=2.25.1
|
||||
click8~=8.0.1
|
||||
click~=8.0.1
|
||||
|
Reference in New Issue
Block a user