Revert "Implement webhook system for AI events notifications"

This commit is contained in:
dawnsystem 2025-11-14 16:40:31 +01:00 committed by GitHub
parent f00424f7c4
commit 04ced421b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 0 additions and 1312 deletions

View file

@ -72,17 +72,6 @@ class AIDeletionManager:
f"requiring approval from user {user.username}",
)
# Send webhook notification about deletion request
try:
from documents.webhooks import send_deletion_request_webhook
send_deletion_request_webhook(request)
except Exception as webhook_error:
logger.warning(
f"Failed to send deletion request webhook: {webhook_error}",
exc_info=True,
)
# TODO: Send in-app notification to user about pending deletion request
# TODO: Send notification to user about pending deletion request
# This could be via email, in-app notification, or both