Replaced hardcoded object by proper function

This commit is contained in:
Jesús Ángel González 2018-01-24 15:41:14 +01:00 committed by Javier Castro
parent d1030a5080
commit 0fff5ff64e

View File

@ -175,7 +175,7 @@ let app = require('ui/modules').get('app/wazuh', []).controller('settingsControl
cluster_info: {},
insecure: 'true',
id: (Array.isArray($scope.apiEntries)) ? $scope.apiEntries.length : 0,
extensions: { oscap: true, audit: true, pci: true }
extensions: appState.getExtensions()
};
testAPI.check(tmpData)