diff --git a/services/mam-api/src/routes/sequences.js b/services/mam-api/src/routes/sequences.js index f806159..b7dd20c 100644 --- a/services/mam-api/src/routes/sequences.js +++ b/services/mam-api/src/routes/sequences.js @@ -315,6 +315,12 @@ router.post('/:id/conform', async (req, res, next) => { const bullJob = await conformQueue.add('conform-task', { fcpXml: fcp_xml, sequenceId: req.params.id, + // The worker INSERTs the rendered output into the `assets` table at the + // end of the pipeline; project_id is NOT NULL on that table, so without + // this the conform finished successfully but failed at the very last + // step. Sequences live under projects, so the natural target for the + // rendered output is the sequence's own project. + projectId: seq.project_id, sequenceName: seq.name, frameRate: seq.frame_rate, width: seq.width,