stephb9959
2023-02-08 20:56:28 -08:00
parent 1ca3c0ade4
commit 315cbaf3c1

View File

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