From b632e9049fccea12c016556cfef3ab621aa683d2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 20 Jun 2017 20:20:09 +0200 Subject: Fix client compilation --- client/src/app/videos/shared/index.ts | 1 - client/src/app/videos/shared/video.service.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'client/src/app/videos/shared') diff --git a/client/src/app/videos/shared/index.ts b/client/src/app/videos/shared/index.ts index 0fa14f641..97d795321 100644 --- a/client/src/app/videos/shared/index.ts +++ b/client/src/app/videos/shared/index.ts @@ -1,4 +1,3 @@ export * from './sort-field.type' -export * from './rate-type.type' export * from './video.model' export * from './video.service' diff --git a/client/src/app/videos/shared/video.service.ts b/client/src/app/videos/shared/video.service.ts index 977b82118..7658d8ff0 100644 --- a/client/src/app/videos/shared/video.service.ts +++ b/client/src/app/videos/shared/video.service.ts @@ -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 { + getUserVideoRating (id: string): Observable { const url = UserService.BASE_USERS_URL + '/me/videos/' + id + '/rating' return this.authHttp.get(url) -- cgit v1.2.3