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

Merge pull request #3502 from Steve-Mcl/fix-mqtt-will-props

fix typo of will properties (properies)
This commit is contained in:
Nick O'Leary 2022-03-21 19:29:23 +00:00 committed by GitHub
commit 0f37b326a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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