Merge branch 'release-2.0.x' of https://github.com/wso2/carbon-device-mgt into release-2.0.x

revert-70aa11f8
madhawap 8 years ago
commit fa171ef079

@ -44,5 +44,9 @@ var validatePolicyProfile = function () {
* @returns {Array} profile payloads * @returns {Array} profile payloads
*/ */
var generateGenericPayload = function () { var generateGenericPayload = function () {
return window.queryEditor.getValue(); return [{
"featureCode": "CONFIG",
"deviceTypeId": policy["platformId"],
"content": {"policyDefinition": window.queryEditor.getValue()}
}];
}; };

Loading…
Cancel
Save