weather: rename postcode => postalcode

Origin commit data
------------------
Commit: 3bd0161285
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-22 (Sat, 22 Jan 2022)

Origin message was:
------------------
- weather: rename postcode => postalcode
This commit is contained in:
vanhofen
2022-01-22 01:44:42 +01:00
parent 08a47abd0b
commit bb2a7aa316
10 changed files with 19 additions and 19 deletions

View File

@@ -182,9 +182,9 @@ bool CWeather::GetWeatherDetails()
return false;
}
bool CWeather::FindCoords(std::string postcode, std::string country)
bool CWeather::FindCoords(std::string postalcode, std::string country)
{
std::string data = "http://api.openweathermap.org/geo/1.0/zip?zip=" + postcode + "," + country + "&appid=" + key;
std::string data = "http://api.openweathermap.org/geo/1.0/zip?zip=" + postalcode + "," + country + "&appid=" + key;
JSONCPP_STRING answer;
JSONCPP_STRING formattedErrors;
Json::CharReaderBuilder builder;