1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Add server hooks for listing subscription

This commit is contained in:
Wicklow 2023-02-24 16:21:26 +01:00 committed by Chocobozzz
parent d41f4a6dc6
commit c0687c91b9
4 changed files with 40 additions and 2 deletions

View file

@ -27,6 +27,10 @@ export const serverFilterHookObject = {
'filter:api.overviews.videos.list.params': true,
'filter:api.overviews.videos.list.result': true,
// Filter params/result used to list subscription videos for the REST API
'filter:api.user.me.subscription-videos.list.params': true,
'filter:api.user.me.subscription-videos.list.result': true,
// Filter params/results to search videos/channels in the DB or on the remote index
'filter:api.search.videos.local.list.params': true,
'filter:api.search.videos.local.list.result': true,