mirror of https://github.com/Chocobozzz/PeerTube
Fix video channel deletion
parent
09cf121ce8
commit
4035d2b6e9
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue