Merge branch 'release/4.1.0' into develop
This commit is contained in:
commit
ab4b897499
|
@ -139,7 +139,9 @@ async function updateVideo (req: express.Request, res: express.Response) {
|
||||||
return { videoInstanceUpdated, isNewVideo }
|
return { videoInstanceUpdated, isNewVideo }
|
||||||
})
|
})
|
||||||
|
|
||||||
if (videoInfoToUpdate.name) await updateTorrentsMetadata(videoInstanceUpdated)
|
if (videoInstanceUpdated.isLive !== true && videoInfoToUpdate.name) {
|
||||||
|
await updateTorrentsMetadata(videoInstanceUpdated)
|
||||||
|
}
|
||||||
|
|
||||||
await sequelizeTypescript.transaction(t => federateVideoIfNeeded(videoInstanceUpdated, isNewVideo, t))
|
await sequelizeTypescript.transaction(t => federateVideoIfNeeded(videoInstanceUpdated, isNewVideo, t))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue