Skip to content

Commit 4ea79c8

Browse files
fix(group-attributes): log metric when post_save.send(update_fields=["status", "subs"]) is called for group (#52996)
Was looking at the incorrect kwargs key when `post_save.send()` was called.
1 parent 25c3cdd commit 4ea79c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/issues/attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def post_save_log_group_attributes_changed(instance, sender, created, *args, **k
4141
if created:
4242
_log_group_attributes_changed(Operation.CREATED, "group", None)
4343
else:
44-
if "updated_fields" in kwargs:
44+
if "update_fields" in kwargs:
4545
update_fields = kwargs["update_fields"]
4646
# we have no guarantees update_fields is used everywhere save() is called
4747
# we'll need to assume any of the attributes are updated in that case

0 commit comments

Comments
 (0)