From 4aba437c305dffa1bdaa3b75a900692864f49249 Mon Sep 17 00:00:00 2001 From: HeikoGr <20295490+HeikoGr@users.noreply.github.com> Date: Thu, 10 Oct 2024 20:35:33 +0200 Subject: [PATCH] Update modules/default/weather/providers/openweathermap.js Co-authored-by: Pedro Lamas --- modules/default/weather/providers/openweathermap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default/weather/providers/openweathermap.js b/modules/default/weather/providers/openweathermap.js index 6604a4df49..b1bf5c34d1 100644 --- a/modules/default/weather/providers/openweathermap.js +++ b/modules/default/weather/providers/openweathermap.js @@ -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