Weather SDK: fix auto location provider path

This commit is contained in:
MM20 2023-12-22 13:53:25 +01:00
parent 25da73745f
commit 7db400fb10
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -58,6 +58,7 @@ internal class PluginWeatherProvider(
val uri = Uri.Builder()
.scheme("content")
.authority(pluginAuthority)
.path(WeatherPluginContract.Paths.Forecasts)
.appendQueryParameter(WeatherPluginContract.ForecastParams.Lat, lat.toString())
.appendQueryParameter(WeatherPluginContract.ForecastParams.Lon, lon.toString())
.appendQueryParameter(WeatherPluginContract.ForecastParams.Language, getLang())