Skip to content

Commit 926fdb7

Browse files
committed
Change to v09 payload to support breaking API changes in InfluxDB v0.9.0-RC30 and v0.9.0-31.
1 parent 7ec6aa3 commit 926fdb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/influxdb.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ InfluxdbBackend.prototype.assembleEvent_v09 = function (name, events) {
395395
var self = this;
396396

397397
var payload = {
398-
name: name,
399-
timestamp: events[0]['time'],
398+
measurement: name,
399+
time: events[0]['time'],
400400
fields: { value: events[0]['value'] }
401401
}
402402

0 commit comments

Comments
 (0)