add afterDelete hook (#1054)

This commit is contained in:
Ben Hesseldieck 2020-10-14 17:47:43 +02:00 committed by GitHub
parent df020136d3
commit 99b637330b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -629,6 +629,7 @@ class App {
}
await Db.collections.Workflow!.delete(id);
await this.externalHooks.run('workflow.afterDelete', [id]);
return true;
}));