diff options
Diffstat (limited to 'client/src/app/videos/shared')
-rw-r--r-- | client/src/app/videos/shared/video.model.ts | 1 | ||||
-rw-r--r-- | client/src/app/videos/shared/video.service.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/videos/shared/video.model.ts b/client/src/app/videos/shared/video.model.ts index 65417f751..873c83ff1 100644 --- a/client/src/app/videos/shared/video.model.ts +++ b/client/src/app/videos/shared/video.model.ts | |||
@@ -21,6 +21,7 @@ export class Video { | |||
21 | port = ':' + port; | 21 | port = ':' + port; |
22 | } | 22 | } |
23 | 23 | ||
24 | |||
24 | return author + '@' + host + port; | 25 | return author + '@' + host + port; |
25 | } | 26 | } |
26 | 27 | ||
diff --git a/client/src/app/videos/shared/video.service.ts b/client/src/app/videos/shared/video.service.ts index ad8557533..b1f688095 100644 --- a/client/src/app/videos/shared/video.service.ts +++ b/client/src/app/videos/shared/video.service.ts | |||
@@ -22,6 +22,7 @@ export class VideoService { | |||
22 | getVideo(id: string): Observable<Video> { | 22 | getVideo(id: string): Observable<Video> { |
23 | return this.http.get(VideoService.BASE_VIDEO_URL + id) | 23 | return this.http.get(VideoService.BASE_VIDEO_URL + id) |
24 | .map(this.restExtractor.extractDataGet) | 24 | .map(this.restExtractor.extractDataGet) |
25 | .map(video_hash => new Video(video_hash)) | ||
25 | .catch((res) => this.restExtractor.handleError(res)); | 26 | .catch((res) => this.restExtractor.handleError(res)); |
26 | } | 27 | } |
27 | 28 | ||