diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-09 16:23:16 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-10 21:12:09 +0200 |
commit | e95bede8fe660a38c99e51560caa5dd58a8eb23e (patch) | |
tree | de28010e27a22eb45838a94752a9733cbf814835 /client/src | |
parent | 3487330d308166afb542cbacae0475693c0b059e (diff) | |
download | PeerTube-e95bede8fe660a38c99e51560caa5dd58a8eb23e.tar.gz PeerTube-e95bede8fe660a38c99e51560caa5dd58a8eb23e.tar.zst PeerTube-e95bede8fe660a38c99e51560caa5dd58a8eb23e.zip |
support type as override to search in listBlocks
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/shared/video-block/video-block.service.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
43 | 43 | ||
44 | params = this.restService.addObjectParams(params, filters) | 44 | params = this.restService.addObjectParams(params, filters) |
45 | } | 45 | } |
46 | if (type) params = params.append('type', type.toString()) | ||
46 | 47 | ||
47 | return this.authHttp.get<ResultList<VideoBlacklist>>(VideoBlockService.BASE_VIDEOS_URL + 'blacklist', { params }) | 48 | return this.authHttp.get<ResultList<VideoBlacklist>>(VideoBlockService.BASE_VIDEOS_URL + 'blacklist', { params }) |
48 | .pipe( | 49 | .pipe( |