Skip to content

Commit 46f5baa

Browse files
fixup: appease eslint (es helpers)
1 parent 8b0f119 commit 46f5baa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

graphql-api/src/queries/helpers/elasticsearch-helpers.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import elasticsearch from '@elastic/elasticsearch'
2-
import { LimitedElasticClient, SearchResponse, SearchHit } from '../../elasticsearch'
2+
import { LimitedElasticClient, SearchResponse, SearchHit, GetResponse } from '../../elasticsearch'
33

44
/**
55
* Search and then scroll to retrieve all pages of search results.
@@ -70,8 +70,6 @@ export const fetchIndexMetadata = async (esClient: any, index: any) => {
7070
return Object.values(response.body)[0].mappings._meta
7171
}
7272

73-
import { GetResponse } from '../../elasticsearch'
74-
7573
export const getFromMultipleIndices = (requests: Promise<GetResponse | null>[]) =>
7674
Promise.all(requests).then(
7775
(responses) => {

0 commit comments

Comments
 (0)