diff options
Diffstat (limited to 'server/controllers/api/videos/index.ts')
-rw-r--r-- | server/controllers/api/videos/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts index dcd6194ae..e89315930 100644 --- a/server/controllers/api/videos/index.ts +++ b/server/controllers/api/videos/index.ts | |||
@@ -222,7 +222,7 @@ async function addVideo (req: express.Request, res: express.Response) { | |||
222 | }) | 222 | }) |
223 | 223 | ||
224 | // Create the torrent file | 224 | // Create the torrent file |
225 | await createTorrentAndSetInfoHash(video, video, videoFile) | 225 | await createTorrentAndSetInfoHash(video, videoFile) |
226 | 226 | ||
227 | const { videoCreated } = await sequelizeTypescript.transaction(async t => { | 227 | const { videoCreated } = await sequelizeTypescript.transaction(async t => { |
228 | const sequelizeOptions = { transaction: t } | 228 | const sequelizeOptions = { transaction: t } |