diff options
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 b140d5aa9..0ef26d53d 100644 --- a/server/lib/moderation.ts +++ b/server/lib/moderation.ts | |||
@@ -18,7 +18,7 @@ import { | |||
18 | MVideoAccountLightBlacklistAllFiles | 18 | MVideoAccountLightBlacklistAllFiles |
19 | } from '@server/types/models' | 19 | } from '@server/types/models' |
20 | import { ActivityCreate } from '../../shared/models/activitypub' | 20 | import { ActivityCreate } from '../../shared/models/activitypub' |
21 | import { VideoTorrentObject } from '../../shared/models/activitypub/objects' | 21 | import { VideoObject } from '../../shared/models/activitypub/objects' |
22 | import { VideoCommentObject } from '../../shared/models/activitypub/objects/video-comment-object' | 22 | import { VideoCommentObject } from '../../shared/models/activitypub/objects/video-comment-object' |
23 | import { VideoCreate, VideoImportCreate } from '../../shared/models/videos' | 23 | import { VideoCreate, VideoImportCreate } from '../../shared/models/videos' |
24 | import { VideoCommentCreate } from '../../shared/models/videos/video-comment.model' | 24 | import { VideoCommentCreate } from '../../shared/models/videos/video-comment.model' |
@@ -62,7 +62,7 @@ function isLocalVideoCommentReplyAccepted (_object: { | |||
62 | 62 | ||
63 | function isRemoteVideoAccepted (_object: { | 63 | function isRemoteVideoAccepted (_object: { |
64 | activity: ActivityCreate | 64 | activity: ActivityCreate |
65 | videoAP: VideoTorrentObject | 65 | videoAP: VideoObject |
66 | byActor: ActorModel | 66 | byActor: ActorModel |
67 | }): AcceptResult { | 67 | }): AcceptResult { |
68 | return { accepted: true } | 68 | return { accepted: true } |