From ad6e4d5d32a9ca571af90801c3c6b53e76a85cde Mon Sep 17 00:00:00 2001 From: gmbronco <83549293+gmbronco@users.noreply.github.com> Date: Mon, 4 Dec 2023 21:44:04 +0100 Subject: [PATCH] removing run --- worker/job-handlers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;