From 5bac1c68d9981828601bc037763f06f13ba1f143 Mon Sep 17 00:00:00 2001 From: jomjol <30766535+jomjol@users.noreply.github.com> Date: Sat, 18 Feb 2023 12:46:14 +0100 Subject: [PATCH] Correct BugFix in InfluxDB --- code/components/jomjol_influxdb/interface_influxdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/components/jomjol_influxdb/interface_influxdb.cpp b/code/components/jomjol_influxdb/interface_influxdb.cpp index e07c30e5..bc878e84 100644 --- a/code/components/jomjol_influxdb/interface_influxdb.cpp +++ b/code/components/jomjol_influxdb/interface_influxdb.cpp @@ -175,8 +175,8 @@ void InfluxDBPublish(std::string _key, std::string _content, std::string _timest sprintf(nowTimestamp,"%ld000000000", (long) utc); // UTC - payload = _influxDB_V2_Measurement + " " + _key + "=" + _content + " " + nowTimestamp; -// payload = _influxDB_V2_Measurement + " " + _key + "=774 " + nowTimestamp; + payload = _influxDBMeasurement + " " + _key + "=" + _content + " " + nowTimestamp; +// payload = _influxDBMeasurement + " " + _key + "=774 " + nowTimestamp; } else {