From deb420d0879efe325c72a20e513a6384ea9fd8c7 Mon Sep 17 00:00:00 2001 From: Junade Date: Tue, 28 Aug 2018 14:58:25 +0100 Subject: [PATCH] Update Zones.php --- src/Endpoints/Zones.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Endpoints/Zones.php b/src/Endpoints/Zones.php index 323f202..f0e7777 100644 --- a/src/Endpoints/Zones.php +++ b/src/Endpoints/Zones.php @@ -174,7 +174,7 @@ class Zones implements API } if (!is_null($hosts)) { - $options['tags'] = $tags; + $options['hosts'] = $hosts; } $user = $this->adapter->delete('zones/' . $zoneID . '/purge_cache', $options);