Passes query string instead of query object in esdocs (#27157)
This commit is contained in:
parent
2e3f68ebfc
commit
71ca3692ec
|
@ -75,7 +75,7 @@ export const esdocs = () => ({
|
|||
|
||||
return queryEsSQL(handlers.elasticsearchClient, {
|
||||
count: args.count,
|
||||
query,
|
||||
query: query.toString(),
|
||||
filter: context.and,
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue