updated correct url for network optimization

This commit is contained in:
Mark de Groot 2022-01-17 10:44:57 +01:00
parent 3941daaf91
commit 33b5d240c7

View File

@ -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);
}