mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
⚡ Inject workflow ID on workflow update (#1788)
This commit is contained in:
parent
2063333ee5
commit
6961bc66e9
|
@ -572,6 +572,7 @@ class App {
|
|||
|
||||
const newWorkflowData = req.body as IWorkflowBase;
|
||||
const id = req.params.id;
|
||||
newWorkflowData.id = id;
|
||||
|
||||
await this.externalHooks.run('workflow.update', [newWorkflowData]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue