Fix jobs.js: send camelCase fields to conform worker (projectId/outputFormat)
This commit is contained in:
parent
79dcfaffeb
commit
44759391e5
1 changed files with 3 additions and 3 deletions
|
|
@ -106,12 +106,12 @@ router.post('/conform', async (req, res, next) => {
|
|||
|
||||
const job = result.rows[0];
|
||||
|
||||
// Add to BullMQ queue
|
||||
// Add to BullMQ queue with camelCase keys matching the worker's destructuring
|
||||
await conformQueue.add('conform-task', {
|
||||
jobId,
|
||||
edl,
|
||||
project_id,
|
||||
output_format,
|
||||
projectId: project_id,
|
||||
outputFormat: output_format,
|
||||
});
|
||||
|
||||
res.status(201).json(job);
|
||||
|
|
|
|||
Loading…
Reference in a new issue