Shun Miyazawa 3 년 전
부모
커밋
cdc9ddd574
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/app/src/server/service/search-delegator/elasticsearch-client.ts

+ 1 - 1
apps/app/src/server/service/search-delegator/elasticsearch-client.ts

@@ -50,7 +50,7 @@ export default class ElasticsearchClient {
     // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
     delete: (params: ES7RequestParams.IndicesDelete & estypes.IndicesDeleteRequest) =>
       this.client instanceof ES7Client ? this.client.indices.delete(params) : this.client.indices.delete(params),
-    exists: (params: ES7RequestParams.IndicesExists & estypes.IndicesDeleteRequest)
+    exists: (params: ES7RequestParams.IndicesExists & estypes.IndicesExistsRequest)
     : Promise<ES7ApiResponse<IndicesExistsResponse> | estypes.IndicesExistsResponse> =>
       this.client instanceof ES7Client ? this.client.indices.exists(params) : this.client.indices.exists(params),
     existsAlias: (params: ES7RequestParams.IndicesExistsAlias & estypes.IndicesExistsAliasRequest)