Skip to content

Commit

Permalink
Fix undefined bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson committed Feb 1, 2021
1 parent 99b4ca0 commit 99dc347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/data/server/search/search_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class SearchService implements Plugin<ISearchSetup, ISearchStart> {
)
);

registerBsearchRoute(bfetch, this.asScoped);
registerBsearchRoute(bfetch, (request: KibanaRequest) => this.asScoped(request));

core.savedObjects.registerType(searchTelemetry);
if (usageCollection) {
Expand Down

0 comments on commit 99dc347

Please sign in to comment.