Fix inconsistency in ES queries (#351)

This commit is contained in:
Navaneeth Pk 2021-06-29 00:38:35 +05:30 committed by GitHub
parent 533e4546c4
commit 18a1757ab9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ class ElasticsearchQueryService
if operation == 'search'
index = options['index']
query = JSON.parse(options[:query])
query = JSON.parse(options['query'])
data = connection.search(index: index, body: query)
end