Correct BugFix in InfluxDB

This commit is contained in:
jomjol
2023-02-18 12:46:14 +01:00
parent 008dba7e11
commit 5bac1c68d9

View File

@@ -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
{