fix(hooks): 9 hook wiring fixes — DMS/Calendar name mismatch, Mail/Contact missing triggers
Check Cross-Plugin Imports / check (push) Has been cancelled

This commit is contained in:
Agent Zero
2026-08-17 07:21:39 +02:00
parent 0a1ba30ed7
commit 8de35a24a7
10 changed files with 1255 additions and 568 deletions
+3
View File
@@ -464,6 +464,9 @@ async def delete_contact(
action="delete", snapshot_before=snapshot_before,
)
# Hook: contact.after_delete
await do_action("contact.after_delete", db=db, tenant_id=tenant_id, contact_id=contact_id, user_id=user_id)
async def hard_delete_contact(db: AsyncSession, tenant_id: uuid.UUID, contact_id: str) -> None:
"""GDPR hard-delete a contact."""