Skip to content

Commit deb420d

Browse files
authored
Update Zones.php
1 parent 640b787 commit deb420d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Endpoints/Zones.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function cachePurge(string $zoneID, array $files = null, array $tags = nu
174174
}
175175

176176
if (!is_null($hosts)) {
177-
$options['tags'] = $tags;
177+
$options['hosts'] = $hosts;
178178
}
179179

180180
$user = $this->adapter->delete('zones/' . $zoneID . '/purge_cache', $options);

0 commit comments

Comments
 (0)