Fixing stats reset at sim startup.

This commit is contained in:
stephb9959
2021-11-04 10:28:10 -07:00
parent 0d6fb77e10
commit 9fbdbbd1bb
9 changed files with 69 additions and 128 deletions

View File

@@ -9,7 +9,7 @@
namespace OpenWifi {
void RESTAPI_results_handler::DoGet() {
std::vector<OWLSObjects::SimulationResults> Results;
std::vector<OWLSObjects::SimulationStatus> Results;
StorageService()->SimulationResultsDB().GetRecords(1,10000,Results);
return ReturnObject("list",Results);
}