]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix video channel deletion
authorChocobozzz <me@florianbigard.com>
Thu, 13 Sep 2018 07:31:04 +0000 (09:31 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 13 Sep 2018 07:31:04 +0000 (09:31 +0200)
client/src/app/shared/video-channel/video-channel.service.ts

index c94411146bdc898e0ff96332f66cbc76a380a439..d0bec649a30c025e3abf0603316b839d93e8f3ef 100644 (file)
@@ -73,7 +73,7 @@ export class VideoChannelService {
   }
 
   removeVideoChannel (videoChannel: VideoChannel) {
-    return this.authHttp.delete(VideoChannelService.BASE_VIDEO_CHANNEL_URL + videoChannel.uuid)
+    return this.authHttp.delete(VideoChannelService.BASE_VIDEO_CHANNEL_URL + videoChannel.nameWithHost)
                .pipe(
                  map(this.restExtractor.extractDataBool),
                  catchError(err => this.restExtractor.handleError(err))