Fixed stram not being in object-mode

f_influx-checks
Ruakij 3 years ago
parent 3af4bb7cc6
commit 44cd3288cf

@ -13,6 +13,10 @@ class InfluxPointWriter extends Writable{
* @param {string} bucket Bucket to use
* @param {Partial<WriteOptions>} options Options for WriteApi
*/
constructor(influxDb, org, bucket, options){
super({
objectMode: true
});
this._api = influxDb.getWriteApi(org, bucket, 'us', options);
}

Loading…
Cancel
Save