diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-09 14:05:21 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-09 14:09:24 +0100 |
commit | 650580504cf14a87bd4025eec9673eb5642dc71d (patch) | |
tree | ae5dce55a9cbe8c392db4668bb599c74a17b241d /shared/models/plugins/server | |
parent | a554bc1a260a525cd635d62404b9fe76fdb9e36b (diff) | |
download | PeerTube-650580504cf14a87bd4025eec9673eb5642dc71d.tar.gz PeerTube-650580504cf14a87bd4025eec9673eb5642dc71d.tar.zst PeerTube-650580504cf14a87bd4025eec9673eb5642dc71d.zip |
Add filter:api.server.stats.get.result hook
Diffstat (limited to 'shared/models/plugins/server')
-rw-r--r-- | shared/models/plugins/server/server-hook.model.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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 = { | |||
63 | 'filter:api.video-thread-comments.list.params': true, | 63 | 'filter:api.video-thread-comments.list.params': true, |
64 | 'filter:api.video-thread-comments.list.result': true, | 64 | 'filter:api.video-thread-comments.list.result': true, |
65 | 65 | ||
66 | // Filter get stats result | ||
67 | 'filter:api.server.stats.get.result': true, | ||
68 | |||
66 | // Filter result used to check if we need to auto blacklist a video | 69 | // Filter result used to check if we need to auto blacklist a video |
67 | // (fired when a local or remote video is created or updated) | 70 | // (fired when a local or remote video is created or updated) |
68 | 'filter:video.auto-blacklist.result': true, | 71 | 'filter:video.auto-blacklist.result': true, |