From 650580504cf14a87bd4025eec9673eb5642dc71d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 9 Dec 2021 14:05:21 +0100 Subject: Add filter:api.server.stats.get.result hook --- shared/models/plugins/server/server-hook.model.ts | 3 +++ 1 file changed, 3 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 3ab910197..7e344e003 100644 --- a/shared/models/plugins/server/server-hook.model.ts +++ b/shared/models/plugins/server/server-hook.model.ts @@ -63,6 +63,9 @@ export const serverFilterHookObject = { 'filter:api.video-thread-comments.list.params': true, 'filter:api.video-thread-comments.list.result': true, + // Filter get stats result + 'filter:api.server.stats.get.result': true, + // Filter result used to check if we need to auto blacklist a video // (fired when a local or remote video is created or updated) 'filter:video.auto-blacklist.result': true, -- cgit v1.2.3