mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralfms.git
synced 2026-03-20 03:40:59 +00:00
Moving to ORM.
This commit is contained in:
@@ -18,7 +18,7 @@ namespace OpenWifi {
|
||||
}
|
||||
|
||||
FMSObjects::DeviceConnectionInformation DevInfo;
|
||||
if(StorageService()->GetDevice(SerialNumber, DevInfo)) {
|
||||
if(StorageService()->DevicesDB().GetDevice(SerialNumber, DevInfo)) {
|
||||
Poco::JSON::Object Answer;
|
||||
DevInfo.to_json(Answer);
|
||||
return ReturnObject(Answer);
|
||||
|
||||
Reference in New Issue
Block a user