1
0
Fork 0

Fix video channel deletion

This commit is contained in:
Chocobozzz 2018-09-13 09:31:04 +02:00
parent 09cf121ce8
commit 4035d2b6e9
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View 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))