Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix video channel deletion

Chocobozzz4035d2b6e937
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 c94411146b..d0bec649a3 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))