Update to match recent Cloudflare API changes (Closes #4)

This commit is contained in:
Ambre Bertucci
2025-07-25 12:17:03 +02:00
parent bb0e5cb2bd
commit 6fe1471fd4
3 changed files with 3 additions and 3 deletions

View File

@ -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`

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

View File

@ -1,2 +1,2 @@
requests~=2.25.1
click8~=8.0.1
click~=8.0.1