aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/migrations
diff options
context:
space:
mode:
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}.`)