diff options
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index dda870905..d0151ceb1 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -450,7 +450,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
450 | this.checkUserRating() | 450 | this.checkUserRating() |
451 | } | 451 | } |
452 | 452 | ||
453 | private setRating (nextRating: VideoRateType) { | 453 | private setRating (nextRating: UserVideoRateType) { |
454 | let method | 454 | let method |
455 | switch (nextRating) { | 455 | switch (nextRating) { |
456 | case 'like': | 456 | case 'like': |
@@ -476,7 +476,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
476 | ) | 476 | ) |
477 | } | 477 | } |
478 | 478 | ||
479 | private updateVideoRating (oldRating: UserVideoRateType, newRating: VideoRateType) { | 479 | private updateVideoRating (oldRating: UserVideoRateType, newRating: UserVideoRateType) { |
480 | let likesToIncrement = 0 | 480 | let likesToIncrement = 0 |
481 | let dislikesToIncrement = 0 | 481 | let dislikesToIncrement = 0 |
482 | 482 | ||