From: Rigel Kent Date: Tue, 9 Jun 2020 14:23:16 +0000 (+0200) Subject: support type as override to search in listBlocks X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e95bede8fe660a38c99e51560caa5dd58a8eb23e;p=oweals%2Fpeertube.git support type as override to search in listBlocks --- diff --git a/client/src/app/shared/video-block/video-block.service.ts b/client/src/app/shared/video-block/video-block.service.ts index 31ccc84ea..d0673ddba 100644 --- a/client/src/app/shared/video-block/video-block.service.ts +++ b/client/src/app/shared/video-block/video-block.service.ts @@ -43,6 +43,7 @@ export class VideoBlockService { params = this.restService.addObjectParams(params, filters) } + if (type) params = params.append('type', type.toString()) return this.authHttp.get>(VideoBlockService.BASE_VIDEOS_URL + 'blacklist', { params }) .pipe(