Skip to content

Commit

Permalink
Update modules/default/weather/providers/openweathermap.js
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Lamas <[email protected]>
  • Loading branch information
HeikoGr and pedrolamas authored Oct 10, 2024
1 parent dda63cd commit 4aba437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/default/weather/providers/openweathermap.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ WeatherProvider.register("openweathermap", {
apiBase: "https://api.openweathermap.org/data/",
// weatherEndpoint is "onecall" since API 3.0
// "onecall", "forecast" or "weather" only for pro customers
weatherEndpoint: "onecall",
weatherEndpoint: "/onecall",
locationID: false,
location: false,
// the onecall endpoint needs lat / lon values, it doesn't support the locationId
Expand Down

0 comments on commit 4aba437

Please sign in to comment.