Framework update

This commit is contained in:
stephb9959
2021-12-22 22:00:36 -08:00
parent 0af72eb531
commit 3fb7f174a5
6 changed files with 309 additions and 8 deletions

View File

@@ -155,9 +155,8 @@ namespace OpenWifi {
}
template <typename DB, typename Record> void ReturnRecordList(const char *ArrayName,DB & DBInstance, RESTAPIHandler & R) {
const auto UUIDs = Utils::Split(R.SelectedRecords());
Poco::JSON::Array ObjArr;
for(const auto &i:UUIDs) {
for(const auto &i:R.SelectedRecords()) {
Record E;
if(DBInstance.GetRecord("id",i,E)) {
Poco::JSON::Object Obj;