node-red-node-openweathermap
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -28,5 +28,6 @@ { | ||
"invalid-lon": "Invalid longitude (lon) provided", | ||
"invalid-json": "The API call returned invalid JSON", | ||
"invalid-json": "The API call returned invalid JSON. is the API Key valid ?", | ||
"invalid-city_country": "Invalid city/country", | ||
"invalid-location": "Invalid location information provided" | ||
"invalid-location": "Invalid location information provided", | ||
"no-api-key": "No API key set" | ||
}, | ||
@@ -33,0 +34,0 @@ "message": { |
{ | ||
"name" : "node-red-node-openweathermap", | ||
"version" : "0.1.1", | ||
"version" : "0.1.2", | ||
"description" : "A Node-RED node that gets the weather report from openweathermap", | ||
@@ -5,0 +5,0 @@ "dependencies" : { |
@@ -129,3 +129,3 @@ /** | ||
var lon; | ||
if ((!node.credentials) || (!node.credentials.hasOwnProperty("apikey"))) { this.error("No API Key set"); } | ||
if ((!node.credentials) || (!node.credentials.hasOwnProperty("apikey"))) { node.error(RED._("weather.error.no-api-key")); } | ||
@@ -175,3 +175,3 @@ this.interval_id = setInterval( function() { | ||
var lon; | ||
if ((!node.credentials) || (!node.credentials.hasOwnProperty("apikey"))) { this.error("No API Key set"); } | ||
if ((!node.credentials) || (!node.credentials.hasOwnProperty("apikey"))) { node.error(RED._("weather.error.no-api-key"));; } | ||
@@ -178,0 +178,0 @@ this.on('input', function(msg) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38284
239