diff options
Diffstat (limited to 'server/controllers/api/videos')
-rw-r--r-- | server/controllers/api/videos/abuse.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/abuse.ts b/server/controllers/api/videos/abuse.ts index 59bdf6257..08e11b00b 100644 --- a/server/controllers/api/videos/abuse.ts +++ b/server/controllers/api/videos/abuse.ts | |||
@@ -112,7 +112,7 @@ async function reportVideoAbuse (req: express.Request, res: express.Response) { | |||
112 | 112 | ||
113 | // We send the video abuse to the origin server | 113 | // We send the video abuse to the origin server |
114 | if (videoInstance.isOwned() === false) { | 114 | if (videoInstance.isOwned() === false) { |
115 | await sendVideoAbuse(reporterAccount.Actor, videoAbuseInstance, videoInstance, t) | 115 | await sendVideoAbuse(reporterAccount.Actor, videoAbuseInstance, videoInstance) |
116 | } | 116 | } |
117 | 117 | ||
118 | auditLogger.create(reporterAccount.Actor.getIdentifier(), new VideoAbuseAuditView(videoAbuseInstance.toFormattedJSON())) | 118 | auditLogger.create(reporterAccount.Actor.getIdentifier(), new VideoAbuseAuditView(videoAbuseInstance.toFormattedJSON())) |