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

fix typo of will properties (properies)

Fixes #3501
This commit is contained in:
Steve-Mcl 2022-03-21 15:24:23 +00:00
parent fdb868516f
commit 7f9f551cfe

View File

@ -465,7 +465,7 @@ module.exports = function(RED) {
}; };
if(hasProperty(opts, "willTopic")) { if(hasProperty(opts, "willTopic")) {
//will v5 properties must be set in the "properties" sub object //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 { } else {
//update options //update options