From 4d7679d5a9126cfbf6e6d3981347b4284df4b92d Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 10 Oct 2024 03:19:03 +0530 Subject: [PATCH] feat: pass req.user.id to add workflow --- server/src/routes/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/storage.ts b/server/src/routes/storage.ts index e11854ee..66ffbdbc 100644 --- a/server/src/routes/storage.ts +++ b/server/src/routes/storage.ts @@ -318,7 +318,7 @@ router.put('/schedule/:id/', requireSignIn, async (req, res) => { // await workflowQueue.add( // 'run workflow', - // { id, runId }, + // { id, runId, req.user.id }, // { // repeat: { // pattern: cronExpression,