Merge branch 'master' into 'master'

Fixing issue with notification sending logic

See merge request entgra/carbon-device-mgt!27
This commit is contained in:
Milan Harindu 2018-10-07 13:54:48 +00:00
commit 9af96d5fc4

View File

@ -251,7 +251,7 @@ public class OperationManagerImpl implements OperationManager {
}
OperationManagementDAOFactory.commitTransaction();
if (isScheduled) {
if (!isScheduled) {
for (Device device : authorizedDevices) {
this.sendNotification(operation, device);
}