mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[ES 9.0] Remove body workaround (@elastic/obs-ux-management-team
) (#217223)
## Summary Follow up to https://github.com/elastic/kibana/pull/213375: The latest version of the ES client fixed the issue https://github.com/elastic/elasticsearch-js/issues/2584. We should be able to remove all usages of `// @ts-expect-error elasticsearch@9.0.0 https://github.com/elastic/elasticsearch-js/issues/2584`.
This commit is contained in:
parent
3c2c59baac
commit
0c5fa84659
1 changed files with 1 additions and 2 deletions
|
@ -91,7 +91,6 @@ function updateExistingIndex({
|
|||
}) {
|
||||
return client.indices.putMapping({
|
||||
index,
|
||||
// @ts-expect-error elasticsearch@9.0.0 https://github.com/elastic/elasticsearch-js/issues/2584
|
||||
body: mappings,
|
||||
...mappings,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue