diff options
Diffstat (limited to 'client/src/app/search')
-rw-r--r-- | client/src/app/search/search.service.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/search/search.service.ts b/client/src/app/search/search.service.ts index bb5532757..7610fee8c 100644 --- a/client/src/app/search/search.service.ts +++ b/client/src/app/search/search.service.ts | |||
@@ -2,7 +2,7 @@ import { catchError, map, switchMap } from 'rxjs/operators' | |||
2 | import { HttpClient, HttpParams } from '@angular/common/http' | 2 | import { HttpClient, HttpParams } from '@angular/common/http' |
3 | import { Injectable } from '@angular/core' | 3 | import { Injectable } from '@angular/core' |
4 | import { Observable } from 'rxjs' | 4 | import { Observable } from 'rxjs' |
5 | import { ComponentPagination } from '@app/shared/rest/component-pagination.model' | 5 | import { ComponentPaginationLight } from '@app/shared/rest/component-pagination.model' |
6 | import { VideoService } from '@app/shared/video/video.service' | 6 | import { VideoService } from '@app/shared/video/video.service' |
7 | import { RestExtractor, RestService } from '@app/shared' | 7 | import { RestExtractor, RestService } from '@app/shared' |
8 | import { environment } from '../../environments/environment' | 8 | import { environment } from '../../environments/environment' |
@@ -25,7 +25,7 @@ export class SearchService { | |||
25 | 25 | ||
26 | searchVideos (parameters: { | 26 | searchVideos (parameters: { |
27 | search: string, | 27 | search: string, |
28 | componentPagination: ComponentPagination, | 28 | componentPagination: ComponentPaginationLight, |
29 | advancedSearch: AdvancedSearch | 29 | advancedSearch: AdvancedSearch |
30 | }): Observable<ResultList<Video>> { | 30 | }): Observable<ResultList<Video>> { |
31 | const { search, componentPagination, advancedSearch } = parameters | 31 | const { search, componentPagination, advancedSearch } = parameters |
@@ -51,7 +51,7 @@ export class SearchService { | |||
51 | 51 | ||
52 | searchVideoChannels (parameters: { | 52 | searchVideoChannels (parameters: { |
53 | search: string, | 53 | search: string, |
54 | componentPagination: ComponentPagination | 54 | componentPagination: ComponentPaginationLight |
55 | }): Observable<ResultList<VideoChannel>> { | 55 | }): Observable<ResultList<VideoChannel>> { |
56 | const { search, componentPagination } = parameters | 56 | const { search, componentPagination } = parameters |
57 | 57 | ||