фикс некорректного ответа QoS

This commit is contained in:
Vladislav Ostapov 2024-11-12 11:08:22 +03:00
parent b51e303006
commit e2c9877017

View File

@ -234,7 +234,7 @@ public:
api->setQosSettings(pt); api->setQosSettings(pt);
std::string result = R"({"status":"ok",settings":)"; std::string result = R"({"status":"ok","settings":)";
result += api->loadSettings(); result += api->loadSettings();
result += "}"; result += "}";
rep.content.insert(rep.content.end(), result.c_str(), result.c_str() + result.size()); rep.content.insert(rep.content.end(), result.c_str(), result.c_str() + result.size());