1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

emoncms - improve check for no input

to close #275
This commit is contained in:
Dave Conway-Jones 2017-02-06 22:29:55 +00:00
parent 0ad4a7bc4d
commit 7e421db642
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
defaults: { defaults: {
name: {value:"Emoncms"}, name: {value:"Emoncms"},
emonServer: {type:"emoncms-server", required:true}, emonServer: {type:"emoncms-server", required:true},
nodegroup: {value:"", validate:function(v) {return ((v === undefined)||(/^\d+$/).test(v)); }} nodegroup: {value:"", validate:function(v) {return ((v === "")||(/^\d+$/).test(v));} }
}, },
inputs:1, inputs:1,
outputs:0, outputs:0,

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-emoncms", "name" : "node-red-node-emoncms",
"version" : "0.0.11", "version" : "0.0.13",
"description" : "A Node-RED node to fetch/post data to/from emoncms", "description" : "A Node-RED node to fetch/post data to/from emoncms",
"dependencies" : { "dependencies" : {
}, },