Update interface_influxdb.cpp (#2233)

This commit is contained in:
CaCO3
2023-03-24 15:49:47 +01:00
committed by GitHub
parent db36fe2522
commit 727b871fc5

View File

@@ -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 + "/write?db=" + _influxDBDatabase + "/";
std::string apiURI = _influxDBURI + "/write?db=" + _influxDBDatabase;
apiURI.shrink_to_fit();
http_config.url = apiURI.c_str();