Skip to content

Commit

Permalink
bugfix on icon path
Browse files Browse the repository at this point in the history
  • Loading branch information
dnsimmons committed Jun 29, 2020
1 parent 315f052 commit 518f2c7
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 @@ -235,7 +235,7 @@ private function parseOnecallResponse(string $response)
'condition' => [
'name' => $item['weather'][0]['main'],
'desc' => $item['weather'][0]['description'],
'icon' => $this->url_icons . $item['weather'][0]['icon'] . '.png',
'icon' => $this->api_endpoint_icons . $item['weather'][0]['icon'] . '.png',
],
'forecast' => [
'temp' => round($item['temp']),
Expand Down

0 comments on commit 518f2c7

Please sign in to comment.