mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 00:28:16 -06:00
Fixes #17097: Record static object representation when calling NotificationGroup.notify()
This commit is contained in:
parent
c6c0ab2828
commit
855a07c2ec
@ -139,6 +139,7 @@ def process_event_rules(event_rules, object_type, event_type, data, username=Non
|
||||
event_rule.action_object.notify(
|
||||
object_type=object_type,
|
||||
object_id=data['id'],
|
||||
object_repr=data.get('display'),
|
||||
event_type=event_type
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user