From c4587f9748291bdf497aab441f8fa301555a81c3 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 11 Sep 2025 11:21:01 -0400 Subject: [PATCH] Closes #20088: Remove 'model' from webhook context (replaced by object_type) --- netbox/extras/webhooks.py | 1 - 1 file changed, 1 deletion(-) diff --git a/netbox/extras/webhooks.py b/netbox/extras/webhooks.py index a68f219bd..92a05a676 100644 --- a/netbox/extras/webhooks.py +++ b/netbox/extras/webhooks.py @@ -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,