aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/migrations
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-28 14:57:51 +0200
committerChocobozzz <me@florianbigard.com>2022-06-28 15:06:15 +0200
commit4fae2b1f300c1f027629569817262f60873a663a (patch)
treefabffae6d39aa13b19985f8c92730db2a721dceb /scripts/migrations
parent4c8336af67bf4e570e227d5cb1fbcb7a53b3776e (diff)
downloadPeerTube-4fae2b1f300c1f027629569817262f60873a663a.tar.gz
PeerTube-4fae2b1f300c1f027629569817262f60873a663a.tar.zst
PeerTube-4fae2b1f300c1f027629569817262f60873a663a.zip
Rename video full loading
Diffstat (limited to 'scripts/migrations')
-rw-r--r--scripts/migrations/peertube-4.0.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/migrations/peertube-4.0.ts b/scripts/migrations/peertube-4.0.ts
index 64cf45474..9e5ca60d4 100644
--- a/scripts/migrations/peertube-4.0.ts
+++ b/scripts/migrations/peertube-4.0.ts
@@ -97,7 +97,7 @@ async function processVideo (videoId: number) {
97 // Everything worked, we can save the playlist now 97 // Everything worked, we can save the playlist now
98 await playlist.save() 98 await playlist.save()
99 99
100 const allVideo = await VideoModel.loadAndPopulateAccountAndServerAndTags(video.id) 100 const allVideo = await VideoModel.loadFull(video.id)
101 await federateVideoIfNeeded(allVideo, false) 101 await federateVideoIfNeeded(allVideo, false)
102 102
103 console.log(`Successfully moved HLS files of ${video.name}.`) 103 console.log(`Successfully moved HLS files of ${video.name}.`)