mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Bugfix "node.ack is not a fuction"
This commit is contained in:
parent
731afdaa4b
commit
12704951e3
@ -221,7 +221,7 @@ module.exports = function(RED) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
node.on("input", function(msg) {
|
node.on("input", function(msg) {
|
||||||
node.ack(msg.messageId, msg.subsriptionId, msg.transaction);
|
node.client.ack(msg.messageId, msg.subsriptionId, msg.transaction);
|
||||||
});
|
});
|
||||||
|
|
||||||
node.on("close", function(done) {
|
node.on("close", function(done) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user