Required parameter is missing
This commit is contained in:
@@ -69,7 +69,7 @@ class UARules implements API
|
|||||||
|
|
||||||
public function getRuleDetails(string $zoneID, string $blockID): \stdClass
|
public function getRuleDetails(string $zoneID, string $blockID): \stdClass
|
||||||
{
|
{
|
||||||
$user = $this->adapter->get('zones/' . $zoneID . '/firewall/ua_rules/' . $blockID, []);
|
$user = $this->adapter->get('zones/' . $zoneID . '/firewall/ua_rules/' . $blockID, [], []);
|
||||||
$body = json_decode($user->getBody());
|
$body = json_decode($user->getBody());
|
||||||
return $body->result;
|
return $body->result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user