]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/create-move-video-storage-job.ts
Rename video full loading
[github/Chocobozzz/PeerTube.git] / scripts / create-move-video-storage-job.ts
index 18629aa27dad54f94a963a7866657542f067220e..0f0d4ee35f770bad129067ac525a59d864aa4d05 100644 (file)
@@ -70,7 +70,7 @@ async function run () {
   }
 
   for (const id of ids) {
-    const videoFull = await VideoModel.loadAndPopulateAccountAndServerAndTags(id)
+    const videoFull = await VideoModel.loadFull(id)
 
     const files = videoFull.VideoFiles || []
     const hls = videoFull.getHLSPlaylist()