events: only title for slack webhook

This commit is contained in:
Jens Langhammer 2021-02-02 19:18:51 +01:00
parent 3e696d6ac8
commit 3ac148d01c
1 changed files with 0 additions and 1 deletions

View File

@ -254,7 +254,6 @@ class NotificationTransport(models.Model):
}
if notification.event:
body["attachments"][0]["title"] = notification.event.action
body["attachments"][0]["text"] = notification.event.action
try:
response = post(self.webhook_url, json=body)
response.raise_for_status()