diff options
| -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 ecf17cd..0f51a08 100644 --- a/arthur/apis/cloudflare/zones.py +++ b/arthur/apis/cloudflare/zones.py @@ -35,7 +35,7 @@ async def purge_zone(zone_identifier: str) -> dict: } async with aiohttp.ClientSession() as session: - async with session.post(endpoint, headers=AUTH_HEADER, body=request_body) as response: + async with session.post(endpoint, headers=AUTH_HEADER, json=request_body) as response: info = await response.json() return {"success": info["success"], "errors": info["errors"]} |