diff --git a/public/services/ruleset-handler.js b/public/services/ruleset-handler.js index cffda5c6c..89b4f86e9 100644 --- a/public/services/ruleset-handler.js +++ b/public/services/ruleset-handler.js @@ -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) {