mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'release-2.0.x' of https://github.com/wso2/carbon-device-mgt into release-2.0.x
This commit is contained in:
commit
fa171ef079
@ -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