mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing issue in get device API
This commit is contained in:
parent
0e2f473a51
commit
aa4f7c13c5
@ -709,7 +709,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
||||
} finally {
|
||||
DeviceManagementDAOFactory.closeConnection();
|
||||
}
|
||||
if (requireDeviceInfo) {
|
||||
if (requireDeviceInfo && !allDevices.isEmpty()) {
|
||||
paginationResult.setData(getAllDeviceInfo(allDevices));
|
||||
} else {
|
||||
paginationResult.setData(allDevices);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user