mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
inject node - Remove couple of lines of excess console.log
This commit is contained in:
parent
45cb1016cc
commit
bdd9d901ec
@ -58,8 +58,6 @@ function InjectNode(n) {
|
||||
|
||||
this.on("input",function(msg) {
|
||||
var msg = {topic:this.topic};
|
||||
console.log(this.payloadType);
|
||||
console.log(this.payload);
|
||||
if ( (this.payloadType == null && this.payload == "") || this.payloadType == "date") {
|
||||
msg.payload = Date.now();
|
||||
} else if (this.payloadType == null || this.payloadType == "string") {
|
||||
|
Loading…
Reference in New Issue
Block a user