aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/create-move-video-storage-job.ts
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/create-move-video-storage-job.ts
parent4c8336af67bf4e570e227d5cb1fbcb7a53b3776e (diff)
downloadPeerTube-4fae2b1f300c1f027629569817262f60873a663a.tar.gz
PeerTube-4fae2b1f300c1f027629569817262f60873a663a.tar.zst
PeerTube-4fae2b1f300c1f027629569817262f60873a663a.zip
Rename video full loading
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()