We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dbe444 commit dda78b2Copy full SHA for dda78b2
src/sentry/mail/actions.py
@@ -47,9 +47,9 @@ def after(
47
"group_id": group.id,
48
"notification_uuid": notification_uuid,
49
}
50
-
51
- target_type = ActionTargetType(self.data["target_type"])
52
- target_identifier = self.data.get("target_identifier", None)
+ target_type_value = self.data.get("target_type") or self.data.get("targetType")
+ target_type = ActionTargetType(target_type_value)
+ target_identifier = self.data.get("target_identifier") or self.data.get("targetIdentifier")
53
skip_digests = self.data.get("skipDigests", False)
54
55
fallthrough_choice = self.data.get("fallthrough_type", None)
0 commit comments