mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 09:55:18 +00:00
Fix needle typo
This commit is contained in:
parent
b4cdc98552
commit
cd8d7e0aaa
@ -53,7 +53,7 @@ module.exports = (server, options) => {
|
||||
rejectUnauthorized: !apiEntry.insecure
|
||||
};
|
||||
|
||||
const response = await needle.request('get', `${getPath(apiEntry)}/agents`, payload, options);
|
||||
const response = await needle('get', `${getPath(apiEntry)}/agents`, payload, options);
|
||||
|
||||
if (!response.error && response.body.data.items) {
|
||||
agentsArray = agentsArray.concat(response.body.data.items);
|
||||
|
Loading…
Reference in New Issue
Block a user