File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { Queue, Worker } from 'bullmq';
22import IORedis from 'ioredis' ;
33import logger from './logger' ;
44import { handleRunRecording as handleScheduledRunRecording } from "./workflow-management/scheduler" ;
5- import { handleRunRecording } from './api /record' ;
5+ import { handleRunRecording } from './workflow-management /record' ;
66import Robot from './models/Robot' ;
77import { computeNextRun } from './utils/schedule' ;
88
@@ -27,7 +27,7 @@ const worker = new Worker('workflow', async job => {
2727 try {
2828 const result = isScheduled ?
2929 await handleScheduledRunRecording ( id , userId ) :
30- await handleRunRecording ( id , userId ) ;
30+ await handleRunRecording ( id , userId , runId ) ;
3131 return result ;
3232 } catch ( error ) {
3333 logger . error ( 'Error running workflow:' , error ) ;
You can’t perform that action at this time.
0 commit comments