Passes query string instead of query object in esdocs (#27157) (#27184)

This commit is contained in:
Catherine Liu 2018-12-14 00:56:39 -07:00 committed by GitHub
parent 6e2fa8ea33
commit 960fadea55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ export const esdocs = () => ({
return queryEsSQL(handlers.elasticsearchClient, {
count: args.count,
query,
query: query.toString(),
filter: context.and,
});
},