Adds the query parameter to the guzzle call for GET requests.
This commit is contained in:
@@ -21,7 +21,7 @@ class IPs implements API
|
||||
}
|
||||
|
||||
public function listIPs(): \stdClass {
|
||||
$ips = $this->adapter->get('ips', []);
|
||||
$ips = $this->adapter->get('ips', [], []);
|
||||
$body = json_decode($ips->getBody());
|
||||
|
||||
return $body->result;
|
||||
|
||||
Reference in New Issue
Block a user