fix failure of "Format Alert" button on Slack.
This commit is contained in:
parent
2bfb834e92
commit
2355fa3a3c
1 changed files with 2 additions and 1 deletions
|
|
@ -57,7 +57,8 @@ class OpenAlertAppearanceDialogStep(
|
|||
|
||||
# This is a special case for amazon sns notifications in str format CHEKED
|
||||
if (
|
||||
AlertReceiveChannel.INTEGRATION_AMAZON_SNS is not None
|
||||
hasattr(AlertReceiveChannel, "INTEGRATION_AMAZON_SNS")
|
||||
and AlertReceiveChannel.INTEGRATION_AMAZON_SNS is not None
|
||||
and alert_group.channel.integration == AlertReceiveChannel.INTEGRATION_AMAZON_SNS
|
||||
and raw_request_data == "{}"
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue