mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralfms.git
synced 2026-03-20 03:40:59 +00:00
Refactoring project layout.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
//
|
||||
|
||||
#include "RESTAPI_connectedDeviceHandler.h"
|
||||
#include "RESTAPI_FMSObjects.h"
|
||||
#include "RESTObjects/RESTAPI_FMSObjects.h"
|
||||
#include "StorageService.h"
|
||||
#include "framework/RESTAPI_protocol.h"
|
||||
#include "framework/RESTAPI_errors.h"
|
||||
@@ -18,7 +18,7 @@ namespace OpenWifi {
|
||||
}
|
||||
|
||||
FMSObjects::DeviceConnectionInformation DevInfo;
|
||||
if(Storage()->GetDevice(SerialNumber, DevInfo)) {
|
||||
if(StorageService()->GetDevice(SerialNumber, DevInfo)) {
|
||||
Poco::JSON::Object Answer;
|
||||
DevInfo.to_json(Answer);
|
||||
return ReturnObject(Answer);
|
||||
|
||||
Reference in New Issue
Block a user