From: Chocobozzz Date: Thu, 13 Sep 2018 07:31:04 +0000 (+0200) Subject: Fix video channel deletion X-Git-Tag: v1.0.0-beta.13~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4035d2b6e937e13cd10cf88ed0e89cb579dd86ee;p=oweals%2Fpeertube.git Fix video channel deletion --- 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 { } 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))