Skip to content

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

support type as override to search in listBlocks

Rigel Kente95bede8fe66
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 31ccc84ead..d0673ddba8 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<ResultList<VideoBlacklist>>(VideoBlockService.BASE_VIDEOS_URL + 'blacklist', { params })
.pipe(