From 4fae2b1f300c1f027629569817262f60873a663a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 28 Jun 2022 14:57:51 +0200 Subject: Rename video full loading --- server/controllers/api/videos/upload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers/api/videos/upload.ts') diff --git a/server/controllers/api/videos/upload.ts b/server/controllers/api/videos/upload.ts index c5890691e..3ce66c9ca 100644 --- a/server/controllers/api/videos/upload.ts +++ b/server/controllers/api/videos/upload.ts @@ -272,7 +272,7 @@ async function createTorrentFederate (video: MVideoFullLight, videoFile: MVideoF const job = await JobQueue.Instance.createJobWithPromise({ type: 'manage-video-torrent', payload }) await job.finished() - const refreshedVideo = await VideoModel.loadAndPopulateAccountAndServerAndTags(video.id) + const refreshedVideo = await VideoModel.loadFull(video.id) if (!refreshedVideo) return // Only federate and notify after the torrent creation -- cgit v1.2.3