mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing generic policy payload
This commit is contained in:
parent
0b3183e3be
commit
ea1371a008
@ -44,5 +44,9 @@ var validatePolicyProfile = function () {
|
||||
* @returns {Array} profile payloads
|
||||
*/
|
||||
var generateGenericPayload = function () {
|
||||
return window.queryEditor.getValue();
|
||||
return [{
|
||||
"featureCode": "CONFIG",
|
||||
"deviceTypeId": policy["platformId"],
|
||||
"content": {"policyDefinition": window.queryEditor.getValue()}
|
||||
}];
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user