Refactoring project layout.

This commit is contained in:
stephb9959
2021-10-21 20:19:55 -07:00
parent db49d0b693
commit 6285fcf08a
82 changed files with 4311 additions and 4162 deletions

View File

@@ -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);