mirror of https://github.com/MISP/MISP
fix: [export] JSON export used the wrong handler for /objects/restSearch
parent
d721c9738d
commit
37c5684e79
|
@ -12,7 +12,7 @@ class JsonExport
|
|||
} else if($options['scope'] === 'Event') {
|
||||
return $this->__eventHandler($data, $options);
|
||||
} else if($options['scope'] === 'Object') {
|
||||
return $this->__eventHandler($data, $options);
|
||||
return $this->__objectHandler($data, $options);
|
||||
} else if($options['scope'] === 'Sighting') {
|
||||
return $this->__sightingsHandler($data, $options);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue