mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
set active status for enroll device
This commit is contained in:
parent
b56e42792a
commit
60e539b583
@ -61,7 +61,6 @@ public class DeviceManagerImpl implements DeviceManager {
|
||||
deviceDto.setStatus(Status.ACTIVE);
|
||||
deviceDto.setDeviceTypeId(deviceTypeId);
|
||||
this.getDeviceDAO().addDevice(deviceDto);
|
||||
|
||||
} catch (DeviceManagementDAOException e) {
|
||||
throw new DeviceManagementException("Error occurred while enrolling the device '" + device.getId() + "'",
|
||||
e);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user