diff options
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) |