mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Re-lint a load of nodes
This commit is contained in:
@@ -45,7 +45,8 @@ module.exports = function(RED) {
|
||||
// This will be called anytime there is a new dweet for my-thing
|
||||
if (dweet.content.hasOwnProperty("payload")) {
|
||||
dweet.payload = dweet.content.payload;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
dweet.payload = dweet.content;
|
||||
}
|
||||
delete dweet.content;
|
||||
|
Reference in New Issue
Block a user