Skip to content

Commit

Permalink
Update Zones.php
Browse files Browse the repository at this point in the history
  • Loading branch information
IcyApril authored Aug 28, 2018
1 parent 640b787 commit deb420d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Endpoints/Zones.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function cachePurge(string $zoneID, array $files = null, array $tags = nu
}

if (!is_null($hosts)) {
$options['tags'] = $tags;
$options['hosts'] = $hosts;
}

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

0 comments on commit deb420d

Please sign in to comment.