Skip to content

Commit

Permalink
fix merge conflict error
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Jun 1, 2020
1 parent 892dcdb commit 8149ea5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,7 @@ export async function generateCsvSearch(

const config = reporting.getConfig();
const elasticsearch = await reporting.getElasticsearchService();
const { callAsCurrentUser } = elasticsearch.legacy.client.asScoped(
KibanaRequest.from(req.getRawRequest())
);
const { callAsCurrentUser } = elasticsearch.legacy.client.asScoped(req);
const callCluster = (...params: [string, object]) => callAsCurrentUser(...params);
const uiSettings = await getUiSettings(uiConfig);

Expand Down

0 comments on commit 8149ea5

Please sign in to comment.