From a6cc51d066143e6bb5e9f07f5cec8a7d91707385 Mon Sep 17 00:00:00 2001 From: Dave Simmons Date: Sat, 6 Feb 2021 02:05:16 -0500 Subject: [PATCH] Fix URL parameter in getOnecallWeatherByCoords method --- src/OpenWeather.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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