From d944e8676bd955483c7922124acf606319fe6911 Mon Sep 17 00:00:00 2001 From: jomjol <30766535+jomjol@users.noreply.github.com> Date: Sun, 19 Mar 2023 17:54:48 +0100 Subject: [PATCH] Update interface_influxdb.cpp --- code/components/jomjol_influxdb/interface_influxdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/components/jomjol_influxdb/interface_influxdb.cpp b/code/components/jomjol_influxdb/interface_influxdb.cpp index bc878e84..1e95b16b 100644 --- a/code/components/jomjol_influxdb/interface_influxdb.cpp +++ b/code/components/jomjol_influxdb/interface_influxdb.cpp @@ -189,7 +189,7 @@ void InfluxDBPublish(std::string _key, std::string _content, std::string _timest // use the default retention policy of the database - std::string apiURI = _influxDBURI + "/api/v2/write?bucket=" + _influxDBDatabase + "/"; + std::string apiURI = _influxDBURI + "/write?db=" + _influxDBDatabase + "/"; apiURI.shrink_to_fit(); http_config.url = apiURI.c_str();