From 12704951e38de2c1ee029802facd91b1fa7cb7f2 Mon Sep 17 00:00:00 2001 From: Olivier Verhaegen <56387556+OlivierVerhaegen@users.noreply.github.com> Date: Wed, 12 Apr 2023 13:08:23 +0200 Subject: [PATCH] Bugfix "node.ack is not a fuction" --- io/stomp/18-stomp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io/stomp/18-stomp.js b/io/stomp/18-stomp.js index 388a84c3..4db8fef8 100644 --- a/io/stomp/18-stomp.js +++ b/io/stomp/18-stomp.js @@ -221,7 +221,7 @@ module.exports = function(RED) { }); 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) {