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
1 changed files with 1 additions and 1 deletions

View File

@ -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