mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixed wso2/product-iots#473
This commit is contained in:
parent
69d2cff7bd
commit
3857be50b9
@ -190,7 +190,7 @@ public class PolicyManagerImpl implements PolicyManager {
|
||||
policy.setProfileId(profileId);
|
||||
Timestamp currentTimestamp = new Timestamp(Calendar.getInstance().getTime().getTime());
|
||||
policy.getProfile().setUpdatedDate(currentTimestamp);
|
||||
|
||||
policy.setPriorityId(previousPolicy.getPriorityId());
|
||||
policyDAO.updatePolicy(policy);
|
||||
profileDAO.updateProfile(policy.getProfile());
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user