aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/video-state.ts
diff options
context:
space:
mode:
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