diff options
Diffstat (limited to 'server/lib/moderation.ts')
-rw-r--r-- | server/lib/moderation.ts | 4 |
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 @@ | |||
1 | import { VideoUploadFile } from 'express' | 1 | import express, { VideoUploadFile } from 'express' |
2 | import { PathLike } from 'fs-extra' | 2 | import { PathLike } from 'fs-extra' |
3 | import { Transaction } from 'sequelize/types' | 3 | import { Transaction } from 'sequelize/types' |
4 | import { AbuseAuditView, auditLoggerFactory } from '@server/helpers/audit-logger' | 4 | import { 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 |
60 | function isLocalVideoThreadAccepted (_object: { | 60 | function 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 |
69 | function isLocalVideoCommentReplyAccepted (_object: { | 70 | function isLocalVideoCommentReplyAccepted (_object: { |
71 | req: express.Request | ||
70 | commentBody: VideoCommentCreate | 72 | commentBody: VideoCommentCreate |
71 | parentComment: VideoCommentModel | 73 | parentComment: VideoCommentModel |
72 | video: VideoModel | 74 | video: VideoModel |