mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
bug fixes
This commit is contained in:
parent
59186155d0
commit
18078c51e8
@ -63,7 +63,7 @@ public class DeviceStatusManagementServiceImpl implements DeviceStatusManagement
|
|||||||
public Response getDeviceIdentifiersByStatus(@PathParam("type") String type, @PathParam("status") String status, String ifModifiedSince) {
|
public Response getDeviceIdentifiersByStatus(@PathParam("type") String type, @PathParam("status") String status, String ifModifiedSince) {
|
||||||
DeviceIDList deviceList = new DeviceIDList();
|
DeviceIDList deviceList = new DeviceIDList();
|
||||||
try {
|
try {
|
||||||
deviceList.setIds(DeviceMgtAPIUtils.getDeviceManagementService().getDeviceIdentifiersByStatus(status, type));
|
deviceList.setIds(DeviceMgtAPIUtils.getDeviceManagementService().getDeviceIdentifiersByStatus(type, status));
|
||||||
} catch (DeviceManagementException e) {
|
} catch (DeviceManagementException e) {
|
||||||
String errorMessage = "Error while obtaining list of devices";
|
String errorMessage = "Error while obtaining list of devices";
|
||||||
log.error(errorMessage, e);
|
log.error(errorMessage, e);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user