diff --git a/src/nodeClass.js b/src/nodeClass.js index 37f1cdd..9b96042 100644 --- a/src/nodeClass.js +++ b/src/nodeClass.js @@ -181,8 +181,8 @@ class nodeClass { */ _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]);