mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-01 19:17:47 +00:00
Adding removal subscriber
This commit is contained in:
@@ -211,7 +211,10 @@ namespace OpenWifi {
|
||||
auto SectionName = Names[0];
|
||||
std::cout << "Names[0]" << SectionName << std::endl;
|
||||
_OWDEBUG_
|
||||
auto SectionInfo = O->get(SectionName).extract<Poco::JSON::Object::Ptr>();
|
||||
if(O->isArray(SectionName)) {
|
||||
Configuration->set(SectionName, O->get(SectionName));
|
||||
} else {
|
||||
auto SectionInfo = O->get(SectionName);
|
||||
_OWDEBUG_
|
||||
auto InsertInfo = Sections.insert(SectionName);
|
||||
_OWDEBUG_
|
||||
@@ -243,6 +246,7 @@ namespace OpenWifi {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Configuration = Tmp;
|
||||
if(Config_.empty())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user