X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fupdate-host.ts;h=e497be4e2614b54d122d97c6d1452e54f9195e21;hb=7a8d858e97abc144ecf85fbc672f52dc0576df27;hp=d0a1b03cce93cd1f83b46a50c92176955694f715;hpb=90a8bd305de4153ec21137a73ff482dcc2e3e19b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/update-host.ts b/scripts/update-host.ts index d0a1b03cc..e497be4e2 100755 --- a/scripts/update-host.ts +++ b/scripts/update-host.ts @@ -127,7 +127,7 @@ async function run () { for (const file of video.VideoFiles) { console.log('Updating torrent file %s of video %s.', file.resolution, video.uuid) - await createTorrentAndSetInfoHash(video, video, file) + await createTorrentAndSetInfoHash(video, file) } for (const playlist of video.VideoStreamingPlaylists) {