Fixing generic policy payload

revert-70aa11f8
Madawa Soysa 8 years ago
parent 0b3183e3be
commit ea1371a008

@ -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