mirror of
https://github.com/Art-of-WiFi/UniFi-API-client.git
synced 2024-11-24 19:20:20 +01:00
updated correct url for network optimization
This commit is contained in:
parent
3941daaf91
commit
33b5d240c7
@ -1638,7 +1638,7 @@ class Client
|
||||
public function set_site_network_optimization($optimization_id, $payload)
|
||||
{
|
||||
$this->curl_method = 'PUT';
|
||||
return $this->fetch_results_boolean('/api/s/' . $this->site . '/rest/setting/ntp/' . trim($optimization_id),
|
||||
return $this->fetch_results_boolean('/api/s/' . $this->site . '/rest/setting/network_optimization/' . trim($optimization_id),
|
||||
$payload);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user