diff options
Diffstat (limited to 'protocols/Weather/src/weather_data.cpp')
-rw-r--r-- | protocols/Weather/src/weather_data.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Weather/src/weather_data.cpp b/protocols/Weather/src/weather_data.cpp index b7e9e7c0fc..5294befb0f 100644 --- a/protocols/Weather/src/weather_data.cpp +++ b/protocols/Weather/src/weather_data.cpp @@ -266,6 +266,8 @@ MHttpResponse* CWeatherProto::RunQuery(const wchar_t *id, int days) } pReq << CHAR_PARAM("unitGroup", "metric") << WCHAR_PARAM("key", pKey) << CHAR_PARAM("contentType", "json"); + if (days) + pReq << CHAR_PARAM("elements", "+elevation"); auto *ret = Netlib_HttpTransaction(m_hNetlibUser, pReq); delete pReq; |