mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-01 02:58:00 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -291,7 +291,7 @@ namespace OpenWifi{
|
||||
std::set<std::string> DeviceTypes;
|
||||
for (const auto &serialNumber: Existing.devices) {
|
||||
ProvObjects::InventoryTag Device;
|
||||
if (StorageService()->InventoryDB().GetRecord("serialNumber", serialNumber, Device)) {
|
||||
if (StorageService()->InventoryDB().GetRecord("id", serialNumber, Device)) {
|
||||
DeviceTypes.insert(Device.deviceType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user