diff --git a/worker/job-handlers.ts b/worker/job-handlers.ts index 802364dae..a8dffcf31 100644 --- a/worker/job-handlers.ts +++ b/worker/job-handlers.ts @@ -63,7 +63,7 @@ async function runIfNotAlreadyRunning( export function configureWorkerRoutes(app: Express) { app.post('/', async (req, res, next) => { - const job = req.body as { name: string; chain: string; run?: boolean }; + const job = req.body as { name: string; chain: string }; console.log(`Current jobqueue length: ${runningJobs.size}`); const chainId = job.chain;