Skip to content

Commit de7dcd6

Browse files
committed
fix(slack): Remove redundant mrkdwn_in field from Slack payload
1 parent 2598a7d commit de7dcd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redash/destinations/slack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def notify(self, alert, query, user, new_state, app, host, metadata, options):
3333
text = alert.custom_subject
3434
else:
3535
text = alert.name + (" just triggered" if new_state == "triggered" else " went back to normal")
36-
payload = {"attachments": [{"text": text, "color": color, "mrkdwn_in": ["text", "fields"], "fields": [{"value": alert.custom_body}]}]}
36+
payload = {"attachments": [{"text": text, "color": color, "fields": [{"value": alert.custom_body}]}]}
3737
else:
3838
fields = [
3939
{

0 commit comments

Comments
 (0)