Adding "completeInfo" on device get.

This commit is contained in:
stephb9959
2021-12-05 22:36:46 -08:00
parent 6a4bbc3362
commit 8b22611142

View File

@@ -42,6 +42,9 @@ namespace OpenWifi {
Poco::JSON::Object CSInfo;
CS.to_json(CSInfo);
Answer.set("connectionInfo",CSInfo);
Poco::JSON::Object HCInfo;
HC.to_json(HCInfo);
Answer.set("healthCheckInfo",HCInfo);
Poco::JSON::Parser P;
auto StatsInfo = P.parse(Stats).extract<Poco::JSON::Object::Ptr>();
Answer.set("statsInfo",StatsInfo);