Skip to content

Commit

Permalink
Fix URL parameter in getOnecallWeatherByCoords method
Browse files Browse the repository at this point in the history
  • Loading branch information
dnsimmons authored Feb 6, 2021
1 parent 4c555e6 commit a6cc51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenWeather.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6cc51d

Please sign in to comment.