aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/search/search.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/search/search.service.ts')
-rw-r--r--client/src/app/search/search.service.ts6
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'
2import { HttpClient, HttpParams } from '@angular/common/http' 2import { HttpClient, HttpParams } from '@angular/common/http'
3import { Injectable } from '@angular/core' 3import { Injectable } from '@angular/core'
4import { Observable } from 'rxjs' 4import { Observable } from 'rxjs'
5import { ComponentPagination } from '@app/shared/rest/component-pagination.model' 5import { ComponentPaginationLight } from '@app/shared/rest/component-pagination.model'
6import { VideoService } from '@app/shared/video/video.service' 6import { VideoService } from '@app/shared/video/video.service'
7import { RestExtractor, RestService } from '@app/shared' 7import { RestExtractor, RestService } from '@app/shared'
8import { environment } from '../../environments/environment' 8import { 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