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

Add filter:api.server.stats.get.result hook

This commit is contained in:
Chocobozzz 2021-12-09 14:05:21 +01:00
parent a554bc1a26
commit 650580504c
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 24 additions and 2 deletions

View file

@ -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,