mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Cleanup
This commit is contained in:
parent
f66db4d5c8
commit
8efc27bf14
13 changed files with 23 additions and 21 deletions
|
@ -82,7 +82,7 @@ async function updateVideoFile (video: MVideoFullLight, inputFilePath: string) {
|
|||
await copy(inputFilePath, outputPath)
|
||||
|
||||
video.VideoFiles.push(newVideoFile)
|
||||
await createTorrentAndSetInfoHash(video, video, newVideoFile)
|
||||
await createTorrentAndSetInfoHash(video, newVideoFile)
|
||||
|
||||
await newVideoFile.save()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue