From 18f6a9940175cc59e8c57b0c8d80f263d3b470ca Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sun, 6 Mar 2022 14:54:00 +0100 Subject: [PATCH] Fixing pipeline disabling --- worker/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/src/index.ts b/worker/src/index.ts index b572bcd..9768c19 100644 --- a/worker/src/index.ts +++ b/worker/src/index.ts @@ -38,7 +38,7 @@ app.post("/workflow/:id", (req, res) => { app.delete("/workflow/:id", (req, res) => { console.log(`delete pipeline ${req.params.id}`); pipelineEvent.emit("event", { - id: req.params.id, + id: parseInt(req.params.id), type: PipelineType.Never, }); res.send()