Closes #20088: Remove 'model' from webhook context (replaced by object_type)

This commit is contained in:
Jeremy Stretch
2025-09-11 11:21:01 -04:00
parent c0e4d1c1e3
commit c4587f9748

View File

@@ -52,7 +52,6 @@ def send_webhook(event_rule, object_type, event_type, data, timestamp, username,
'event': WEBHOOK_EVENT_TYPES.get(event_type, event_type),
'timestamp': timestamp,
'object_type': '.'.join(object_type.natural_key()),
'model': object_type.model,
'username': username,
'request_id': request.id if request else None,
'data': data,