]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/shared/video.service.ts
Fix client compilation
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / shared / video.service.ts
index 977b82118a31bc321f57cd9f1f0ad8ac05dd8aa8..7658d8ff035e8a5eca8399573aa60fcee79a1273 100644 (file)
@@ -16,7 +16,7 @@ import {
   UserService
 } from '../../shared'
 import { Video } from './video.model'
-import { VideoRateType } from '../../../../../shared'
+import { UserVideoRate, VideoRateType } from '../../../../../shared'
 
 @Injectable()
 export class VideoService {
@@ -145,7 +145,7 @@ export class VideoService {
     return this.setVideoRate(id, 'dislike')
   }
 
-  getUserVideoRating (id: string): Observable<VideoRateType> {
+  getUserVideoRating (id: string): Observable<UserVideoRate> {
     const url = UserService.BASE_USERS_URL + '/me/videos/' + id + '/rating'
 
     return this.authHttp.get(url)