Skip to content

Commit

Permalink
fix(search): No provider for SearchSourceService in somes cases #786
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Jan 7, 2021
1 parent 61022f2 commit 76748c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/geo/src/lib/search/search.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';

import { SearchService } from './shared/search.service';
import { provideSearchSourceService } from './shared/search-source-service.providers';
import { provideDefaultIChercheSearchResultFormatter } from './shared/sources/icherche.providers';
import { provideDefaultCoordinatesSearchResultFormatter } from './shared/sources/coordinates.providers';
Expand Down Expand Up @@ -34,6 +35,7 @@ export class IgoSearchModule {
return {
ngModule: IgoSearchModule,
providers: [
SearchService,
provideSearchSourceService(),
provideDefaultIChercheSearchResultFormatter(),
provideDefaultCoordinatesSearchResultFormatter(),
Expand Down

0 comments on commit 76748c4

Please sign in to comment.