node-red-node-darksky
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -93,3 +93,3 @@ /** | ||
} catch (err) { | ||
return callback(RED._("darksky.error.api-response", { response: weather })); | ||
return callback(RED._("darksky.error.api-response", { response:weather })); | ||
} | ||
@@ -115,3 +115,3 @@ msg.data = jsun; | ||
msg.title = RED._("darksky.message.weather-forecast"); | ||
msg.description = RED._("darksky.message.weather-info", {time: msg.time.toLocaleString(), lat: msg.location.lat, lon: msg.location.lon}); | ||
msg.description = RED._("darksky.message.weather-info", {time:msg.time.toLocaleString(), lat:msg.location.lat, lon:msg.location.lon}); | ||
callback(); | ||
@@ -131,3 +131,3 @@ } | ||
this.lang = n.lang || "en"; | ||
this.units = n.units || "us"; | ||
this.units = n.units || "us"; | ||
var node = this; | ||
@@ -134,0 +134,0 @@ this.repeat = 900000; |
{ | ||
"name" : "node-red-node-darksky", | ||
"version" : "0.1.14", | ||
"version" : "0.1.15", | ||
"description" : "A Node-RED node that gets the weather forecast from the DarkSky API", | ||
@@ -5,0 +5,0 @@ "dependencies" : { |
Sorry, the diff of this file is not supported yet
49999