From 3af4bb7cc689ea20685736f04f1bcbfe7f2bcaf5 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Fri, 26 Nov 2021 17:33:07 +0100 Subject: [PATCH] Fixed wrong push --- src/streamHandler/PacketInfluxPointFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamHandler/PacketInfluxPointFactory.js b/src/streamHandler/PacketInfluxPointFactory.js index 11e502f..8d76878 100644 --- a/src/streamHandler/PacketInfluxPointFactory.js +++ b/src/streamHandler/PacketInfluxPointFactory.js @@ -47,7 +47,7 @@ class PacketInfluxPointFactory extends Transform{ point.setField('value', packet[objKey]); // Set field - this.push(null, point); // Push point into stream + this.push(point); // Push point into stream }); next(); // Get next packet