mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Id could be title and/or id
This commit is contained in:
parent
a06e8e9e78
commit
931348f1f7
@ -206,7 +206,7 @@ class ElasticWrapper{
|
||||
const data = await this.elasticRequest.callWithInternalUser('update', {
|
||||
index: '.kibana',
|
||||
type: 'doc',
|
||||
id: id,
|
||||
id: id.includes('index-pattern:') ? id : 'index-pattern:' + id,
|
||||
body: {
|
||||
doc: {
|
||||
"type": 'index-pattern',
|
||||
|
Loading…
Reference in New Issue
Block a user