Skip to content

Commit 5538069

Browse files
committed
Fix unsubscribe bug
1 parent d55545f commit 5538069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-cloud.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module.exports = function (RED) {
5353
this.status({ fill: "red", shape: "ring", text: "Connection Error" });
5454
}
5555
this.on('close', function (done) {
56-
connectionManager.deleteClientMqtt(connectionConfig.credentials.clientid, this.thing, this.propertyName,config.id).then(() => { done(); });
56+
connectionManager.deleteClientMqtt(connectionConfig.credentials.clientid, this.thing, this.propertyVariableName,config.id).then(() => { done(); });
5757
});
5858

5959
//this.poll(connectionConfig);

0 commit comments

Comments
 (0)