weather: formatting code using astyle

Origin commit data
------------------
Commit: f63728bbb5
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-03 (Fri, 03 May 2024)

Origin message was:
------------------
- weather: formatting code using astyle

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2024-05-03 23:12:40 +02:00
committed by Thilo Graf
parent 69592226da
commit d31da80bd8
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ bool CWeather::GetWeatherDetails()
std::string lat = coords.substr(0, coords.find_first_of(','));
std::string lon = coords.substr(coords.find_first_of(',') + 1);
std::string data = "https://api.openweathermap.org/data/"+api+"/onecall?lat=" + lat + "&lon=" + lon + "&units=metric&lang=de&exclude=minutely,hourly,flags,alerts&appid=" + key;
std::string data = "https://api.openweathermap.org/data/" + api + "/onecall?lat=" + lat + "&lon=" + lon + "&units=metric&lang=de&exclude=minutely,hourly,flags,alerts&appid=" + key;
JSONCPP_STRING answer;
JSONCPP_STRING formattedErrors;