diff --git a/node_helper.js b/node_helper.js index 4a9d1ae..bd0492d 100644 --- a/node_helper.js +++ b/node_helper.js @@ -41,7 +41,7 @@ module.exports = NodeHelper.create({ } else { //make request to OpenWeather One Call API - var url = "https://api.openweathermap.org/data/2.5/onecall?" + + var url = "https://api.openweathermap.org/data/3.0/onecall?" + "lat=" + payload.latitude + "&lon=" + payload.longitude + "&exclude=" + "minutely" + @@ -71,4 +71,4 @@ module.exports = NodeHelper.create({ }, -}); \ No newline at end of file +});