mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
support type as override to search in listBlocks
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user