1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00
This commit is contained in:
Chocobozzz 2021-02-18 11:28:00 +01:00 committed by Chocobozzz
parent f66db4d5c8
commit 8efc27bf14
13 changed files with 23 additions and 21 deletions

View file

@ -222,7 +222,7 @@ async function addVideo (req: express.Request, res: express.Response) {
})
// Create the torrent file
await createTorrentAndSetInfoHash(video, video, videoFile)
await createTorrentAndSetInfoHash(video, videoFile)
const { videoCreated } = await sequelizeTypescript.transaction(async t => {
const sequelizeOptions = { transaction: t }