diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-03 10:12:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-03 10:38:19 +0100 |
commit | 47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04 (patch) | |
tree | 25e2836baf3dfce6f422192d98332db1bfe65890 /client/src/app/shared/video/video.service.ts | |
parent | c5911fd347c76e8bdc05ea9f3ee9efed4a58c236 (diff) | |
download | PeerTube-47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04.tar.gz PeerTube-47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04.tar.zst PeerTube-47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04.zip |
Add ability to disable video comments
Diffstat (limited to 'client/src/app/shared/video/video.service.ts')
-rw-r--r-- | client/src/app/shared/video/video.service.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video.service.ts b/client/src/app/shared/video/video.service.ts index fc7505a51..073acb2b6 100644 --- a/client/src/app/shared/video/video.service.ts +++ b/client/src/app/shared/video/video.service.ts | |||
@@ -55,7 +55,8 @@ export class VideoService { | |||
55 | description, | 55 | description, |
56 | privacy: video.privacy, | 56 | privacy: video.privacy, |
57 | tags: video.tags, | 57 | tags: video.tags, |
58 | nsfw: video.nsfw | 58 | nsfw: video.nsfw, |
59 | commentsEnabled: video.commentsEnabled | ||
59 | } | 60 | } |
60 | 61 | ||
61 | return this.authHttp.put(VideoService.BASE_VIDEO_URL + video.id, body) | 62 | return this.authHttp.put(VideoService.BASE_VIDEO_URL + video.id, body) |