aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-13 09:31:04 +0200
committerChocobozzz <me@florianbigard.com>2018-09-13 09:31:04 +0200
commit4035d2b6e937e13cd10cf88ed0e89cb579dd86ee (patch)
treef25e2c2d5466f89f57b11dc135d8e31f1d1a3b6d /client/src/app
parent09cf121ce8099692b901e01cfd659a3ccd81469f (diff)
downloadPeerTube-4035d2b6e937e13cd10cf88ed0e89cb579dd86ee.tar.gz
PeerTube-4035d2b6e937e13cd10cf88ed0e89cb579dd86ee.tar.zst
PeerTube-4035d2b6e937e13cd10cf88ed0e89cb579dd86ee.zip
Fix video channel deletion
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/shared/video-channel/video-channel.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/video-channel/video-channel.service.ts b/client/src/app/shared/video-channel/video-channel.service.ts
index c94411146..d0bec649a 100644
--- a/client/src/app/shared/video-channel/video-channel.service.ts
+++ b/client/src/app/shared/video-channel/video-channel.service.ts
@@ -73,7 +73,7 @@ export class VideoChannelService {
73 } 73 }
74 74
75 removeVideoChannel (videoChannel: VideoChannel) { 75 removeVideoChannel (videoChannel: VideoChannel) {
76 return this.authHttp.delete(VideoChannelService.BASE_VIDEO_CHANNEL_URL + videoChannel.uuid) 76 return this.authHttp.delete(VideoChannelService.BASE_VIDEO_CHANNEL_URL + videoChannel.nameWithHost)
77 .pipe( 77 .pipe(
78 map(this.restExtractor.extractDataBool), 78 map(this.restExtractor.extractDataBool),
79 catchError(err => this.restExtractor.handleError(err)) 79 catchError(err => this.restExtractor.handleError(err))