Skip to content

Commit

Permalink
Fixes #17097: Record static object representation when calling Notifi…
Browse files Browse the repository at this point in the history
…cationGroup.notify()
  • Loading branch information
jeremystretch committed Aug 14, 2024
1 parent c6c0ab2 commit 855a07c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netbox/extras/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down

0 comments on commit 855a07c

Please sign in to comment.