diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-30 14:58:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-31 09:19:58 +0200 |
commit | 2d3741d6d92e9bd1f41694c7442a6d1da434e1f2 (patch) | |
tree | 93a1e609e14bc14ca9e77a6661ddc9c0e461d6f3 /client/src/app/shared/video/video.service.ts | |
parent | d9eaee3939bf2e93e5d775d32bce77842201faba (diff) | |
download | PeerTube-2d3741d6d92e9bd1f41694c7442a6d1da434e1f2.tar.gz PeerTube-2d3741d6d92e9bd1f41694c7442a6d1da434e1f2.tar.zst PeerTube-2d3741d6d92e9bd1f41694c7442a6d1da434e1f2.zip |
Videos overview page: first version
Diffstat (limited to 'client/src/app/shared/video/video.service.ts')
-rw-r--r-- | client/src/app/shared/video/video.service.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/client/src/app/shared/video/video.service.ts b/client/src/app/shared/video/video.service.ts index 558db9543..7cc98c77a 100644 --- a/client/src/app/shared/video/video.service.ts +++ b/client/src/app/shared/video/video.service.ts | |||
@@ -51,14 +51,6 @@ export class VideoService { | |||
51 | ) | 51 | ) |
52 | } | 52 | } |
53 | 53 | ||
54 | viewVideo (uuid: string): Observable<boolean> { | ||
55 | return this.authHttp.post(this.getVideoViewUrl(uuid), {}) | ||
56 | .pipe( | ||
57 | map(this.restExtractor.extractDataBool), | ||
58 | catchError(err => this.restExtractor.handleError(err)) | ||
59 | ) | ||
60 | } | ||
61 | |||
62 | updateVideo (video: VideoEdit) { | 54 | updateVideo (video: VideoEdit) { |
63 | const language = video.language || null | 55 | const language = video.language || null |
64 | const licence = video.licence || null | 56 | const licence = video.licence || null |