mirror of https://github.com/Chocobozzz/PeerTube
support type as override to search in listBlocks
parent
3487330d30
commit
e95bede8fe
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue