Fix listing errors in node-red-nodes

This commit is contained in:
Dave Conway-Jones
2016-03-01 21:10:58 +00:00
parent ea9356a3cc
commit d70ae82d10
9 changed files with 50 additions and 48 deletions

View File

@@ -44,7 +44,7 @@ module.exports = function(RED) {
var pri = msg.priority||this.priority;
var url = this.url||msg.url;
var options = { priority:pri };
if (url) { options.url = url };
if (url) { options.url = url; }
if (typeof(msg.payload) === 'object') {
msg.payload = JSON.stringify(msg.payload);
}

View File

@@ -1,6 +1,6 @@
{
"name" : "node-red-node-prowl",
"version" : "0.0.5",
"version" : "0.0.6",
"description" : "A Node-RED node to send alerts via Prowl",
"dependencies" : {
"node-prowl" : "0.1.7"