aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/video-state.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 /server/lib/video-state.ts
parent4c8336af67bf4e570e227d5cb1fbcb7a53b3776e (diff)
downloadPeerTube-4fae2b1f300c1f027629569817262f60873a663a.tar.gz
PeerTube-4fae2b1f300c1f027629569817262f60873a663a.tar.zst
PeerTube-4fae2b1f300c1f027629569817262f60873a663a.zip
Rename video full loading
Diffstat (limited to 'server/lib/video-state.ts')
-rw-r--r--server/lib/video-state.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/video-state.ts b/server/lib/video-state.ts
index ae2725d65..b4e3831e5 100644
--- a/server/lib/video-state.ts
+++ b/server/lib/video-state.ts
@@ -43,7 +43,7 @@ function moveToNextState (options: {
43 43
44 return sequelizeTypescript.transaction(async t => { 44 return sequelizeTypescript.transaction(async t => {
45 // Maybe the video changed in database, refresh it 45 // Maybe the video changed in database, refresh it
46 const videoDatabase = await VideoModel.loadAndPopulateAccountAndServerAndTags(video.uuid, t) 46 const videoDatabase = await VideoModel.loadFull(video.uuid, t)
47 // Video does not exist anymore 47 // Video does not exist anymore
48 if (!videoDatabase) return undefined 48 if (!videoDatabase) return undefined
49 49