diff --git a/src/OpenWeather.php b/src/OpenWeather.php index e2e2180..82b5870 100644 --- a/src/OpenWeather.php +++ b/src/OpenWeather.php @@ -643,7 +643,7 @@ public function getOnecallWeatherByCoords(string $latitude, string $longitude, s return $this->getOnecallWeather([ 'lat' => $latitude, 'lon' => $longitude, - 'part' => 'minutely' . ($exclude != '') ? ',' . $exclude : '', + 'exclude' => 'minutely' . ($exclude != '') ? ',' . $exclude : '', 'units' => $units, 'lang' => $this->api_lang, 'appid' => $this->api_key