Update Zones.php

This commit is contained in:
Junade
2018-08-28 14:58:25 +01:00
committed by GitHub
parent 640b787540
commit deb420d087

View File

@@ -174,7 +174,7 @@ class Zones implements API
} }
if (!is_null($hosts)) { if (!is_null($hosts)) {
$options['tags'] = $tags; $options['hosts'] = $hosts;
} }
$user = $this->adapter->delete('zones/' . $zoneID . '/purge_cache', $options); $user = $this->adapter->delete('zones/' . $zoneID . '/purge_cache', $options);