mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing https://github.com/wso2/product-iots/issues/1553 and https://github.com/wso2/product-iots/issues/1546
This commit is contained in:
parent
5783a74110
commit
e254d4ccc8
@ -558,7 +558,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
|||||||
DeviceManagementDAOFactory.closeConnection();
|
DeviceManagementDAOFactory.closeConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (requireDeviceInfo) {
|
if (!allDevices.isEmpty() && requireDeviceInfo) {
|
||||||
return this.getAllDeviceInfo(allDevices);
|
return this.getAllDeviceInfo(allDevices);
|
||||||
}
|
}
|
||||||
return allDevices;
|
return allDevices;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user