diff options
Diffstat (limited to 'server/controllers/api/videos')
-rw-r--r-- | server/controllers/api/videos/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts index 05fd79e67..7f5e74626 100644 --- a/server/controllers/api/videos/index.ts +++ b/server/controllers/api/videos/index.ts | |||
@@ -267,7 +267,8 @@ async function addVideo (req: express.Request, res: express.Response, videoPhysi | |||
267 | if (CONFIG.TRANSCODING.ENABLED === true) { | 267 | if (CONFIG.TRANSCODING.ENABLED === true) { |
268 | // Put uuid because we don't have id auto incremented for now | 268 | // Put uuid because we don't have id auto incremented for now |
269 | const dataInput = { | 269 | const dataInput = { |
270 | videoUUID: videoCreated.uuid | 270 | videoUUID: videoCreated.uuid, |
271 | isNewVideo: true | ||
271 | } | 272 | } |
272 | 273 | ||
273 | await JobQueue.Instance.createJob({ type: 'video-file', payload: dataInput }) | 274 | await JobQueue.Instance.createJob({ type: 'video-file', payload: dataInput }) |