diff --git a/src/streamHandler/InfluxPointWriter.js b/src/streamHandler/InfluxPointWriter.js index 808e8d6..02b0a27 100644 --- a/src/streamHandler/InfluxPointWriter.js +++ b/src/streamHandler/InfluxPointWriter.js @@ -1,11 +1,11 @@ const logger = require.main.require("./helper/logger.js")("InfluxPointWriter"); -const { Writeable } = require('stream'); +const { Writable } = require('stream'); const {InfluxDB, Point, HttpError} = require('@influxdata/influxdb-client') /** * Get points and write them into influx */ -class InfluxPointWriter extends Writeable{ +class InfluxPointWriter extends Writable{ /** * * @param {string} url Influx-Url