]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/create-transcoding-job.ts
Translated using Weblate (Portuguese (Portugal))
[github/Chocobozzz/PeerTube.git] / scripts / create-transcoding-job.ts
index 59fc84ad59e6723ea4ca056d9590c307d1415b31..8f4d64290f1793cb28c329ed1e859f72a79b0db3 100755 (executable)
@@ -43,7 +43,7 @@ async function run () {
     return
   }
 
-  const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(uuid)
+  const video = await VideoModel.loadFull(uuid)
   if (!video) throw new Error('Video not found.')
 
   const dataInput: VideoTranscodingPayload[] = []