aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/videos/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts
index 6ec6478e4..fbdb0f776 100644
--- a/server/controllers/api/videos/index.ts
+++ b/server/controllers/api/videos/index.ts
@@ -248,6 +248,9 @@ async function addVideo (req: express.Request, res: express.Response) {
248 }, { transaction: t }) 248 }, { transaction: t })
249 } 249 }
250 250
251 // Channel has a new content, set as updated
252 await videoCreated.VideoChannel.setAsUpdated(t)
253
251 await autoBlacklistVideoIfNeeded({ 254 await autoBlacklistVideoIfNeeded({
252 video, 255 video,
253 user: res.locals.oauth.token.User, 256 user: res.locals.oauth.token.User,