diff options
Diffstat (limited to 'server/controllers/api/videos/import.ts')
-rw-r--r-- | server/controllers/api/videos/import.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/server/controllers/api/videos/import.ts b/server/controllers/api/videos/import.ts index 47c6f122c..1f08fe20a 100644 --- a/server/controllers/api/videos/import.ts +++ b/server/controllers/api/videos/import.ts | |||
@@ -245,7 +245,14 @@ function insertIntoDB (parameters: { | |||
245 | if (thumbnailModel) await videoCreated.addAndSaveThumbnail(thumbnailModel, t) | 245 | if (thumbnailModel) await videoCreated.addAndSaveThumbnail(thumbnailModel, t) |
246 | if (previewModel) await videoCreated.addAndSaveThumbnail(previewModel, t) | 246 | if (previewModel) await videoCreated.addAndSaveThumbnail(previewModel, t) |
247 | 247 | ||
248 | await autoBlacklistVideoIfNeeded({ video, user, isRemote: false, isNew: true, transaction: t }) | 248 | await autoBlacklistVideoIfNeeded({ |
249 | video, | ||
250 | user, | ||
251 | notify: false, | ||
252 | isRemote: false, | ||
253 | isNew: true, | ||
254 | transaction: t | ||
255 | }) | ||
249 | 256 | ||
250 | // Set tags to the video | 257 | // Set tags to the video |
251 | if (tags) { | 258 | if (tags) { |