From 4fae2b1f300c1f027629569817262f60873a663a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 28 Jun 2022 14:57:51 +0200 Subject: Rename video full loading --- scripts/migrations/peertube-4.0.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/migrations') 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) { // Everything worked, we can save the playlist now await playlist.save() - const allVideo = await VideoModel.loadAndPopulateAccountAndServerAndTags(video.id) + const allVideo = await VideoModel.loadFull(video.id) await federateVideoIfNeeded(allVideo, false) console.log(`Successfully moved HLS files of ${video.name}.`) -- cgit v1.2.3