diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-04-26 21:42:36 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-04-26 21:42:36 +0200 |
commit | ab683a8e0d998cfd9dfb9562d3c616f3e6e1dbfd (patch) | |
tree | 8f6d77c733b56a3778156eb717b188a1addc7676 /client/src/app/videos/shared | |
parent | 32502eda29f67ef111391d751f61132f8103fda8 (diff) | |
download | PeerTube-ab683a8e0d998cfd9dfb9562d3c616f3e6e1dbfd.tar.gz PeerTube-ab683a8e0d998cfd9dfb9562d3c616f3e6e1dbfd.tar.zst PeerTube-ab683a8e0d998cfd9dfb9562d3c616f3e6e1dbfd.zip |
Format video blacklist
Diffstat (limited to 'client/src/app/videos/shared')
-rw-r--r-- | client/src/app/videos/shared/video.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/shared/video.service.ts b/client/src/app/videos/shared/video.service.ts index a0965e20c..ba83c72fd 100644 --- a/client/src/app/videos/shared/video.service.ts +++ b/client/src/app/videos/shared/video.service.ts | |||
@@ -152,8 +152,8 @@ export class VideoService { | |||
152 | 152 | ||
153 | blacklistVideo(id: string) { | 153 | blacklistVideo(id: string) { |
154 | return this.authHttp.post(VideoService.BASE_VIDEO_URL + id + '/blacklist', {}) | 154 | return this.authHttp.post(VideoService.BASE_VIDEO_URL + id + '/blacklist', {}) |
155 | .map(this.restExtractor.extractDataBool) | 155 | .map(this.restExtractor.extractDataBool) |
156 | .catch((res) => this.restExtractor.handleError(res)); | 156 | .catch((res) => this.restExtractor.handleError(res)); |
157 | } | 157 | } |
158 | 158 | ||
159 | private setVideoRate(id: string, rateType: RateType) { | 159 | private setVideoRate(id: string, rateType: RateType) { |