aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/videos/index.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-03-19 17:00:08 +0100
committerChocobozzz <me@florianbigard.com>2019-03-19 17:00:08 +0100
commita0327eedb0136c4ba7358df80b75cc56bd25ffb8 (patch)
tree7de1486d3671e85ce53c650f74f70dbf3d8845b2 /server/controllers/api/videos/index.ts
parent1ed9b8ee69ba42b2be70512eb8df239be4676674 (diff)
downloadPeerTube-a0327eedb0136c4ba7358df80b75cc56bd25ffb8.tar.gz
PeerTube-a0327eedb0136c4ba7358df80b75cc56bd25ffb8.tar.zst
PeerTube-a0327eedb0136c4ba7358df80b75cc56bd25ffb8.zip
Rename video-file job to video-transcoding
Diffstat (limited to 'server/controllers/api/videos/index.ts')
-rw-r--r--server/controllers/api/videos/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts
index db4f4c96f..08bee97d3 100644
--- a/server/controllers/api/videos/index.ts
+++ b/server/controllers/api/videos/index.ts
@@ -283,7 +283,7 @@ async function addVideo (req: express.Request, res: express.Response) {
283 isNewVideo: true 283 isNewVideo: true
284 } 284 }
285 285
286 await JobQueue.Instance.createJob({ type: 'video-file', payload: dataInput }) 286 await JobQueue.Instance.createJob({ type: 'video-transcoding', payload: dataInput })
287 } 287 }
288 288
289 return res.json({ 289 return res.json({