mirror of https://github.com/node-red/node-red.git
Ensure inject payload exists
parent
38168a545b
commit
55f1cbf18f
|
@ -58,7 +58,7 @@ module.exports = function(RED) {
|
|||
} else if (this.payloadType == 'none') {
|
||||
msg.payload = "";
|
||||
} else {
|
||||
msg.payload = RED.util.evaluateNodeProperty(this.payload,this.payloadType,this,msg);
|
||||
msg.payload = RED.util.evaluateNodeProperty(this.payload,this.payloadType,this,msg)||"";
|
||||
}
|
||||
this.send(msg);
|
||||
msg = null;
|
||||
|
|
Loading…
Reference in New Issue