]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/videos/index.ts
Rename video-file job to video-transcoding
[github/Chocobozzz/PeerTube.git] / server / controllers / api / videos / index.ts
index db4f4c96ffc99078fb6e4db0a73fcbed442ba9ff..08bee97d3d6cf4684eb98e40b2d2b669f3867c5d 100644 (file)
@@ -283,7 +283,7 @@ async function addVideo (req: express.Request, res: express.Response) {
       isNewVideo: true
     }
 
-    await JobQueue.Instance.createJob({ type: 'video-file', payload: dataInput })
+    await JobQueue.Instance.createJob({ type: 'video-transcoding', payload: dataInput })
   }
 
   return res.json({