mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
fdb868516f
commit
7f9f551cfe
@ -465,7 +465,7 @@ module.exports = function(RED) {
|
||||
};
|
||||
if(hasProperty(opts, "willTopic")) {
|
||||
//will v5 properties must be set in the "properties" sub object
|
||||
node.options.will = createLWT(opts.willTopic, opts.willPayload, opts.willQos, opts.willRetain, opts.willMsg, "properies");
|
||||
node.options.will = createLWT(opts.willTopic, opts.willPayload, opts.willQos, opts.willRetain, opts.willMsg, "properties");
|
||||
};
|
||||
} else {
|
||||
//update options
|
||||
|
Loading…
Reference in New Issue
Block a user