diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceImpl.java index 2cae1b931d2..f1718c6ba70 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceImpl.java @@ -138,7 +138,6 @@ public class DeviceTypeManagementServiceImpl implements DeviceTypeManagementServ metaDefinition.setPushNotificationConfig(new PushNotificationConfig(metaDefinition. getPushNotificationConfig().getType(), false, null)); } - metaDefinition.setTaskConfig(null); deviceType.setDeviceTypeMetaDefinition(metaDefinition); return deviceType; }