aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/recommendations
diff options
context:
space:
mode:
authorBO41 <lukasw41@gmail.com>2018-09-22 20:11:16 +0200
committerBO41 <lukasw41@gmail.com>2018-09-22 20:11:16 +0200
commit23db998f07d674c621972a769df73203b14e093a (patch)
tree6ecb88dc98bdbe69e113e4841d05aec34d6d0491 /client/src/app/videos/recommendations
parent9fe4406794aaa4503d090ca4bfe6872b4e556178 (diff)
downloadPeerTube-23db998f07d674c621972a769df73203b14e093a.tar.gz
PeerTube-23db998f07d674c621972a769df73203b14e093a.tar.zst
PeerTube-23db998f07d674c621972a769df73203b14e093a.zip
remove unused imports
Diffstat (limited to 'client/src/app/videos/recommendations')
-rw-r--r--client/src/app/videos/recommendations/recent-videos-recommendation.service.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/videos/recommendations/recent-videos-recommendation.service.ts b/client/src/app/videos/recommendations/recent-videos-recommendation.service.ts
index 0ee34b9cb..59acf17bc 100644
--- a/client/src/app/videos/recommendations/recent-videos-recommendation.service.ts
+++ b/client/src/app/videos/recommendations/recent-videos-recommendation.service.ts
@@ -1,4 +1,4 @@
1import { Inject, Injectable } from '@angular/core' 1import { Injectable } from '@angular/core'
2import { RecommendationService } from '@app/videos/recommendations/recommendations.service' 2import { RecommendationService } from '@app/videos/recommendations/recommendations.service'
3import { Video } from '@app/shared/video/video.model' 3import { Video } from '@app/shared/video/video.model'
4import { RecommendationInfo } from '@app/shared/video/recommendation-info.model' 4import { RecommendationInfo } from '@app/shared/video/recommendation-info.model'
@@ -19,8 +19,7 @@ export class RecentVideosRecommendationService implements RecommendationService
19 constructor ( 19 constructor (
20 private videos: VideoService, 20 private videos: VideoService,
21 private searchService: SearchService 21 private searchService: SearchService
22 ) { 22 ) { }
23 }
24 23
25 getRecommendations (recommendation: RecommendationInfo): Observable<Video[]> { 24 getRecommendations (recommendation: RecommendationInfo): Observable<Video[]> {
26 return this.fetchPage(1, recommendation) 25 return this.fetchPage(1, recommendation)