From 6ae622b6bf43ff70a8fa42559b44c4f1785c9ca1 Mon Sep 17 00:00:00 2001 From: znetsixe <73483679+znetsixe@users.noreply.github.com> Date: Thu, 6 Nov 2025 11:19:08 +0100 Subject: [PATCH] fixed bugs with db output formatting --- src/nodeClass.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nodeClass.js b/src/nodeClass.js index 2b83066..18b723d 100644 --- a/src/nodeClass.js +++ b/src/nodeClass.js @@ -227,8 +227,8 @@ class nodeClass { //this.source.tick(); const raw = this.source.getOutput(); - const processMsg = this._output.formatMsg(raw, this.config, 'process'); - const influxMsg = this._output.formatMsg(raw, this.config, 'influxdb'); + const processMsg = this._output.formatMsg(raw, this.source.config, 'process'); + const influxMsg = this._output.formatMsg(raw, this.source.config, 'influxdb'); // Send only updated outputs on ports 0 & 1 this.node.send([processMsg, influxMsg]);