Преглед на файлове

Merge pull request #1427 from jonchen727/v2-develop

fix for weather-air pollen bug
causefx преди 6 години
родител
ревизия
d721635c18
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      api/functions/homepage-connect-functions.php

+ 1 - 1
api/functions/homepage-connect-functions.php

@@ -133,7 +133,7 @@ function getWeatherAndAir()
 				}
 			}
 			if ($GLOBALS['homepageWeatherAndAirPollenEnabled']) {
-				$endpoint = '/pollen/v2/forecast/daily/?features=plants_information,types_information&days=1&metadata=true';
+				$endpoint = '/pollen/v2/forecast/daily?features=plants_information,types_information&days=1&metadata=true';
 				$response = Requests::get($apiURL . $endpoint . $info, $headers, $options);
 				if ($response->success) {
 					$apiData = json_decode($response->body, true);