diff options
author | BO41 <lukasw41@gmail.com> | 2018-09-22 20:11:16 +0200 |
---|---|---|
committer | BO41 <lukasw41@gmail.com> | 2018-09-22 20:11:16 +0200 |
commit | 23db998f07d674c621972a769df73203b14e093a (patch) | |
tree | 6ecb88dc98bdbe69e113e4841d05aec34d6d0491 /client/src/app/videos/recommendations | |
parent | 9fe4406794aaa4503d090ca4bfe6872b4e556178 (diff) | |
download | PeerTube-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.ts | 5 |
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 @@ | |||
1 | import { Inject, Injectable } from '@angular/core' | 1 | import { Injectable } from '@angular/core' |
2 | import { RecommendationService } from '@app/videos/recommendations/recommendations.service' | 2 | import { RecommendationService } from '@app/videos/recommendations/recommendations.service' |
3 | import { Video } from '@app/shared/video/video.model' | 3 | import { Video } from '@app/shared/video/video.model' |
4 | import { RecommendationInfo } from '@app/shared/video/recommendation-info.model' | 4 | import { 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) |