Skip to content

Commit

Permalink
Fix: Cloudflare paging in zone fetch (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
nukelear authored Sep 8, 2023
1 parent 4334450 commit 0770f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/cloudflare.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_zones(client):
while True:
page_number += 1
try:
raw_results = client.zones.get()
raw_results = client.zones.get(params={"page": page_number})
except CloudFlare.exceptions.CloudFlareAPIError as e:
exit(f"/zones.get api call failed {e}")
except Exception as e:
Expand Down

0 comments on commit 0770f96

Please sign in to comment.