Entity list call optimization.

This commit is contained in:
stephb9959
2021-12-05 22:14:46 -08:00
parent 76a3d0198b
commit 7af553c174
2 changed files with 3 additions and 5 deletions

View File

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