Files
archived-wlan-cloud-ucentra…/src/RESTAPI/RESTAPI_deviceReportHandler.cpp
stephb9959 0262d00b0d Refactor
2022-02-21 08:59:28 -08:00

17 lines
403 B
C++

//
// Created by stephane bourque on 2021-07-19.
//
#include "RESTAPI_deviceReportHandler.h"
#include "RESTObjects/RESTAPI_FMSObjects.h"
#include "Poco/JSON/Object.h"
#include "Daemon.h"
namespace OpenWifi {
void RESTAPI_deviceReportHandler::DoGet() {
Daemon()->CreateDashboard();
Poco::JSON::Object O;
Daemon()->GetDashboard().to_json(O);
ReturnObject(O);
}
}