фикс некорректного ответа QoS
This commit is contained in:
parent
00aa17bb37
commit
b51e303006
@ -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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user