We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@elastic/observability-ui
1 parent 523fa76 commit 4f97072Copy full SHA for 4f97072
src/platform/packages/shared/kbn-storage-adapter/src/index_adapter/index.ts
@@ -244,8 +244,7 @@ export class StorageIndexAdapter<
244
if (simulateIndexTemplateResponse.template.mappings) {
245
await this.esClient.indices.putMapping({
246
index: name,
247
- // @ts-expect-error [email protected] https://github.com/elastic/elasticsearch-js/issues/2584
248
- body: simulateIndexTemplateResponse.template.mappings,
+ ...simulateIndexTemplateResponse.template.mappings,
249
});
250
}
251
0 commit comments