diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-19 16:02:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-21 17:38:13 +0200 |
commit | 12dc3a942a13c7f1489822dae052da197ef15905 (patch) | |
tree | 7b87b6be692af0b62ebac17e720c80244fd8a7ec /server/lib/moderation.ts | |
parent | c6867725fb8e3dfbc2018a37ed5a963103587cb6 (diff) | |
download | PeerTube-12dc3a942a13c7f1489822dae052da197ef15905.tar.gz PeerTube-12dc3a942a13c7f1489822dae052da197ef15905.tar.zst PeerTube-12dc3a942a13c7f1489822dae052da197ef15905.zip |
Implement replace file in server side
Diffstat (limited to 'server/lib/moderation.ts')
-rw-r--r-- | server/lib/moderation.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/moderation.ts b/server/lib/moderation.ts index dc5d8c83c..db8284872 100644 --- a/server/lib/moderation.ts +++ b/server/lib/moderation.ts | |||
@@ -36,7 +36,7 @@ export type AcceptResult = { | |||
36 | // --------------------------------------------------------------------------- | 36 | // --------------------------------------------------------------------------- |
37 | 37 | ||
38 | // Stub function that can be filtered by plugins | 38 | // Stub function that can be filtered by plugins |
39 | function isLocalVideoAccepted (object: { | 39 | function isLocalVideoFileAccepted (object: { |
40 | videoBody: VideoCreate | 40 | videoBody: VideoCreate |
41 | videoFile: VideoUploadFile | 41 | videoFile: VideoUploadFile |
42 | user: UserModel | 42 | user: UserModel |
@@ -201,7 +201,7 @@ function createAccountAbuse (options: { | |||
201 | export { | 201 | export { |
202 | isLocalLiveVideoAccepted, | 202 | isLocalLiveVideoAccepted, |
203 | 203 | ||
204 | isLocalVideoAccepted, | 204 | isLocalVideoFileAccepted, |
205 | isLocalVideoThreadAccepted, | 205 | isLocalVideoThreadAccepted, |
206 | isRemoteVideoCommentAccepted, | 206 | isRemoteVideoCommentAccepted, |
207 | isLocalVideoCommentReplyAccepted, | 207 | isLocalVideoCommentReplyAccepted, |