aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/moderation.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/moderation.ts')
-rw-r--r--server/lib/moderation.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/lib/moderation.ts b/server/lib/moderation.ts
index 43c58c980..3cc92ca30 100644
--- a/server/lib/moderation.ts
+++ b/server/lib/moderation.ts
@@ -1,4 +1,4 @@
1import { VideoUploadFile } from 'express' 1import express, { VideoUploadFile } from 'express'
2import { PathLike } from 'fs-extra' 2import { PathLike } from 'fs-extra'
3import { Transaction } from 'sequelize/types' 3import { Transaction } from 'sequelize/types'
4import { AbuseAuditView, auditLoggerFactory } from '@server/helpers/audit-logger' 4import { AbuseAuditView, auditLoggerFactory } from '@server/helpers/audit-logger'
@@ -58,6 +58,7 @@ function isLocalLiveVideoAccepted (object: {
58 58
59// Stub function that can be filtered by plugins 59// Stub function that can be filtered by plugins
60function isLocalVideoThreadAccepted (_object: { 60function isLocalVideoThreadAccepted (_object: {
61 req: express.Request
61 commentBody: VideoCommentCreate 62 commentBody: VideoCommentCreate
62 video: VideoModel 63 video: VideoModel
63 user: UserModel 64 user: UserModel
@@ -67,6 +68,7 @@ function isLocalVideoThreadAccepted (_object: {
67 68
68// Stub function that can be filtered by plugins 69// Stub function that can be filtered by plugins
69function isLocalVideoCommentReplyAccepted (_object: { 70function isLocalVideoCommentReplyAccepted (_object: {
71 req: express.Request
70 commentBody: VideoCommentCreate 72 commentBody: VideoCommentCreate
71 parentComment: VideoCommentModel 73 parentComment: VideoCommentModel
72 video: VideoModel 74 video: VideoModel