From c0687c91b9cf185c36e477ab30266c779f792ee1 Mon Sep 17 00:00:00 2001 From: Wicklow Date: Fri, 24 Feb 2023 16:21:26 +0100 Subject: Add server hooks for listing subscription --- shared/models/plugins/server/server-hook.model.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shared/models') diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts index dd9cc3ad6..bbd08365c 100644 --- a/shared/models/plugins/server/server-hook.model.ts +++ b/shared/models/plugins/server/server-hook.model.ts @@ -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, -- cgit v1.2.3