From e95bede8fe660a38c99e51560caa5dd58a8eb23e Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 9 Jun 2020 16:23:16 +0200 Subject: support type as override to search in listBlocks --- client/src/app/shared/video-block/video-block.service.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'client/src/app/shared/video-block/video-block.service.ts') 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( -- cgit v1.2.3