Moving to ORM.

This commit is contained in:
stephb9959
2021-12-29 07:52:25 -08:00
parent 6f6d539a14
commit 64f941e9ac
27 changed files with 640 additions and 199 deletions

View File

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