mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
⚡ add afterDelete hook (#1054)
This commit is contained in:
parent
df020136d3
commit
99b637330b
|
@ -629,6 +629,7 @@ class App {
|
|||
}
|
||||
|
||||
await Db.collections.Workflow!.delete(id);
|
||||
await this.externalHooks.run('workflow.afterDelete', [id]);
|
||||
|
||||
return true;
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue