mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixed enrollment device mapping issue
This commit is contained in:
parent
fbb09a7f58
commit
80f737822e
@ -115,7 +115,7 @@ public class OperationManagerImpl implements OperationManager {
|
|||||||
org.wso2.carbon.device.mgt.core.dto.operation.mgt.Operation.Status.PENDING,
|
org.wso2.carbon.device.mgt.core.dto.operation.mgt.Operation.Status.PENDING,
|
||||||
org.wso2.carbon.device.mgt.core.dto.operation.mgt.Operation.Status.REPEATED);
|
org.wso2.carbon.device.mgt.core.dto.operation.mgt.Operation.Status.REPEATED);
|
||||||
}
|
}
|
||||||
operationMappingDAO.addOperationMapping(operationId, device.getId());
|
operationMappingDAO.addOperationMapping(operationId, device.getEnrolmentInfo().getId());
|
||||||
if (notificationStrategy != null) {
|
if (notificationStrategy != null) {
|
||||||
try {
|
try {
|
||||||
notificationStrategy.execute(new NotificationContext(deviceId, operation));
|
notificationStrategy.execute(new NotificationContext(deviceId, operation));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user