Skip to content

Commit

Permalink
fix forgotten call
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Oct 8, 2020
1 parent 21f91e9 commit dea6c3c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/plugins/discover/public/build_services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import { Start as InspectorPublicPluginStart } from 'src/plugins/inspector/publi
import { SharePluginStart } from 'src/plugins/share/public';
import { ChartsPluginStart } from 'src/plugins/charts/public';
import { VisualizationsStart } from 'src/plugins/visualizations/public';
import { SavedObjectKibanaServices } from 'src/plugins/saved_objects/public';

import { DiscoverStartPlugins } from './plugin';
import { createSavedSearchesLoader, SavedSearch } from './saved_searches';
Expand Down Expand Up @@ -78,12 +77,9 @@ export async function buildServices(
context: PluginInitializerContext,
getEmbeddableInjector: any
): Promise<DiscoverServices> {
const services: SavedObjectKibanaServices = {
const services = {
savedObjectsClient: core.savedObjects.client,
indexPatterns: plugins.data.indexPatterns,
search: plugins.data.search,
chrome: core.chrome,
overlays: core.overlays,
savedObjects: plugins.savedObjects,
};
const savedObjectService = createSavedSearchesLoader(services);

Expand Down

0 comments on commit dea6c3c

Please sign in to comment.