diff options
Diffstat (limited to 'arthur/apis/cloudflare/zones.py')
| -rw-r--r-- | arthur/apis/cloudflare/zones.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/apis/cloudflare/zones.py b/arthur/apis/cloudflare/zones.py index 9098d99..367dc3b 100644 --- a/arthur/apis/cloudflare/zones.py +++ b/arthur/apis/cloudflare/zones.py @@ -17,7 +17,7 @@ async def list_zones(zone_name: Optional[str] = None) -> dict[str, str]: endpoint += f"?name={zone_name}" async with aiohttp.ClientSession() as session: - async with session.post(endpoint, headers=request_headers) as response: + async with session.get(endpoint, headers=request_headers) as response: info = await response.json() zones = info["result"] |