]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video-job-info.ts
Add ability to run transcoding jobs
[github/Chocobozzz/PeerTube.git] / server / models / video / video-job-info.ts
index 7c1fe67345be97a3f1dd4194251e7520919ad37a..cb1f3f2f095daf55969dd2b92ceb0c95e11e7657 100644 (file)
@@ -49,7 +49,7 @@ export class VideoJobInfoModel extends Model<Partial<AttributesOnly<VideoJobInfo
   })
   Video: VideoModel
 
-  static load (videoId: number, transaction: Transaction) {
+  static load (videoId: number, transaction?: Transaction) {
     const where = {
       videoId
     }