feat: pass req.user.id to add workflow
This commit is contained in:
@@ -318,7 +318,7 @@ router.put('/schedule/:id/', requireSignIn, async (req, res) => {
|
|||||||
|
|
||||||
// await workflowQueue.add(
|
// await workflowQueue.add(
|
||||||
// 'run workflow',
|
// 'run workflow',
|
||||||
// { id, runId },
|
// { id, runId, req.user.id },
|
||||||
// {
|
// {
|
||||||
// repeat: {
|
// repeat: {
|
||||||
// pattern: cronExpression,
|
// pattern: cronExpression,
|
||||||
|
|||||||
Reference in New Issue
Block a user