Skip to content

Commit

Permalink
Fix API version in locationforecast
Browse files Browse the repository at this point in the history
  • Loading branch information
rejas committed Oct 12, 2023
1 parent 829a087 commit 068d292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/default/weather/providers/yr.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ WeatherProvider.register("yr", {
lon = `${lonParts[0]}.${lonParts[1].substring(0, 4)}`;
}

return `${this.config.apiBase}/locationforecast/2.0/complete?&altitude=${altitude}&lat=${lat}&lon=${lon}`;
return `${this.config.apiBase}/locationforecast/3.0/complete?&altitude=${altitude}&lat=${lat}&lon=${lon}`;
},

cacheWeatherData(weatherData) {
Expand Down

0 comments on commit 068d292

Please sign in to comment.