aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/create-move-video-storage-job.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/create-move-video-storage-job.ts')
-rw-r--r--scripts/create-move-video-storage-job.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create-move-video-storage-job.ts b/scripts/create-move-video-storage-job.ts
index 18629aa27..0f0d4ee35 100644
--- a/scripts/create-move-video-storage-job.ts
+++ b/scripts/create-move-video-storage-job.ts
@@ -70,7 +70,7 @@ async function run () {
70 } 70 }
71 71
72 for (const id of ids) { 72 for (const id of ids) {
73 const videoFull = await VideoModel.loadAndPopulateAccountAndServerAndTags(id) 73 const videoFull = await VideoModel.loadFull(id)
74 74
75 const files = videoFull.VideoFiles || [] 75 const files = videoFull.VideoFiles || []
76 const hls = videoFull.getHLSPlaylist() 76 const hls = videoFull.getHLSPlaylist()