diff options
Diffstat (limited to 'server/controllers/api/videos/abuse.ts')
-rw-r--r-- | server/controllers/api/videos/abuse.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/videos/abuse.ts b/server/controllers/api/videos/abuse.ts index 04349042b..7a3471116 100644 --- a/server/controllers/api/videos/abuse.ts +++ b/server/controllers/api/videos/abuse.ts | |||
@@ -1,7 +1,6 @@ | |||
1 | import * as express from 'express' | 1 | import * as express from 'express' |
2 | 2 | ||
3 | import { database as db } from '../../../initializers/database' | 3 | import { database as db } from '../../../initializers/database' |
4 | import * as friends from '../../../lib/friends' | ||
5 | import { | 4 | import { |
6 | logger, | 5 | logger, |
7 | getFormattedObjects, | 6 | getFormattedObjects, |
@@ -84,7 +83,8 @@ async function reportVideoAbuse (req: express.Request, res: express.Response) { | |||
84 | videoUUID: videoInstance.uuid | 83 | videoUUID: videoInstance.uuid |
85 | } | 84 | } |
86 | 85 | ||
87 | await friends.reportAbuseVideoToFriend(reportData, videoInstance, t) | 86 | // await friends.reportAbuseVideoToFriend(reportData, videoInstance, t) |
87 | // TODO: send abuse to origin pod | ||
88 | } | 88 | } |
89 | }) | 89 | }) |
90 | 90 | ||