Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

Commit

Permalink
Update influx package to latest version to support newer influx insta…
Browse files Browse the repository at this point in the history
…nces
  • Loading branch information
mvantassel committed Feb 12, 2017
1 parent 38fd011 commit 934dd23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nzb2influx.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
'use strict';

const influx = require('influx');
const Influx = require('influx');
const nzbget = require('node-nzbget');

const checkInterval = process.env.UPDATE_INTERVAL_MS || 1000 * 30;

const influxClient = influx({
const influxClient = new Influx.InfluxDB({
host: process.env.INFLUX_HOST || 'localhost',
port: process.env.INFLUX_PORT || 8086,
protocol: process.env.INFLUX_PROTOCOL || 'http',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "nzb2influx",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"scripts": {
"start": "node nzb2influx.js"
},
"devDependencies": {
"influx": "^4.2.2",
"influx": "~5.0",
"node-nzbget": "0.0.4"
}
}

0 comments on commit 934dd23

Please sign in to comment.