Merge pull request #193 from Alex-K37/ambig_overload

fixed compilation error: ambiguous overload for 'operator='
pull/199/head
SQFMI 2022-12-26 12:51:10 -05:00 committed by GitHub
commit 7333873f08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ weatherData Watchy::getWeatherData(String cityID, String units, String lang,
currentWeather.weatherConditionCode =
int(responseObject["weather"][0]["id"]);
currentWeather.weatherDescription =
responseObject["weather"][0]["main"];
JSONVar::stringify(responseObject["weather"][0]["main"]);
// sync NTP during weather API call and use timezone of city
syncNTP(long(responseObject["timezone"]));
} else {