X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fcreate-transcoding-job.ts;h=8f4d64290f1793cb28c329ed1e859f72a79b0db3;hb=db9e40cc0fcdc2849fe18fdf5e32f9799759b5c5;hp=59fc84ad59e6723ea4ca056d9590c307d1415b31;hpb=ab4b8974997777373a6032073f9c1aaf33ba9931;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/create-transcoding-job.ts b/scripts/create-transcoding-job.ts index 59fc84ad5..8f4d64290 100755 --- a/scripts/create-transcoding-job.ts +++ b/scripts/create-transcoding-job.ts @@ -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[] = []