mirror of https://github.com/MISP/MISP
fix: [opendata export] No longer using the returnFormat field as the dataset resource format
- The resource format can be defined with a 'format' field within the resource field in the setup filterpull/5891/head
parent
8265a95d4c
commit
b8f47718cc
|
@ -71,6 +71,7 @@ class OpendataExport
|
|||
|
||||
private function __add_query($cmd)
|
||||
{
|
||||
unset($this->__default_filters['returnFormat']);
|
||||
$body = json_encode($this->__default_filters);
|
||||
$bodyFilename = $this->__generateSetupFile($body);
|
||||
$bodyParam = ' --body ' . $bodyFilename;
|
||||
|
|
Loading…
Reference in New Issue