mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 16:25:33 +01:00
Revert "Implement webhook system for AI events notifications"
This commit is contained in:
parent
f00424f7c4
commit
04ced421b8
8 changed files with 0 additions and 1312 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue