mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
Remove format in rules decoders calls
This commit is contained in:
parent
15022f527a
commit
75dd0055ae
@ -18,7 +18,7 @@ export class RulesetHandler {
|
||||
const result = await this.apiReq.request(
|
||||
'GET',
|
||||
`/manager/files`,
|
||||
{ path: `etc/rules/${path}`, format: 'xml' }
|
||||
{ path: `etc/rules/${path}` }
|
||||
);
|
||||
return ((result || {}).data || {}).data || false;
|
||||
} catch (error) {
|
||||
@ -30,7 +30,7 @@ export class RulesetHandler {
|
||||
const result = await this.apiReq.request(
|
||||
'GET',
|
||||
`/manager/files`,
|
||||
{ path: `etc/decoders/${path}`, format: 'xml' }
|
||||
{ path: `etc/decoders/${path}` }
|
||||
);
|
||||
return ((result || {}).data || {}).data || false;
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user