aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/video.service.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-30 14:58:00 +0200
committerChocobozzz <me@florianbigard.com>2018-08-31 09:19:58 +0200
commit2d3741d6d92e9bd1f41694c7442a6d1da434e1f2 (patch)
tree93a1e609e14bc14ca9e77a6661ddc9c0e461d6f3 /client/src/app/shared/video/video.service.ts
parentd9eaee3939bf2e93e5d775d32bce77842201faba (diff)
downloadPeerTube-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.ts8
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