Inject workflow ID on workflow update (#1788)

This commit is contained in:
mdasmendel 2021-05-16 04:20:37 +03:00 committed by GitHub
parent 2063333ee5
commit 6961bc66e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]);