Skip to content

Commit 9febc91

Browse files
authored
Merge pull request #662 from userlocalhost/fixed/workaround/happening_to_remove_necessary_attribute
Removed processing that creates unnecessary Attribute instances
2 parents 6e1d7a8 + 604c63c commit 9febc91

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

airone/lib/event_notification.py

-6
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,11 @@ def _send_request_to_webhook_endpoint(entry, user, event_type):
2525

2626

2727
def notify_entry_create(entry, user):
28-
# complement attrs before sending request
29-
entry.complement_attrs(user)
30-
3128
# send a request to the registered WebHook URL
3229
_send_request_to_webhook_endpoint(entry, user, "entry.create")
3330

3431

3532
def notify_entry_update(entry, user):
36-
# complement attrs before sending request
37-
entry.complement_attrs(user)
38-
3933
# send a request to the registered WebHook URL
4034
_send_request_to_webhook_endpoint(entry, user, "entry.update")
4135

0 commit comments

Comments
 (0)