FIX: #1861 move notif from attachment to msg body

FIX: #1861 move notif from attachment to msg body
This commit is contained in:
barbequesauce 2018-02-26 10:22:34 -05:00 committed by evilhero
parent 8de481431d
commit cd5bbfe74b
1 changed files with 9 additions and 7 deletions

View File

@ -458,13 +458,15 @@ class SLACK:
module += '[NOTIFIER]'
payload = {
"text": text,
"attachments": [
{
"color": "#36a64f",
"text": attachment_text
}
]
# "text": text,
# "attachments": [
# {
# "color": "#36a64f",
# "text": attachment_text
# }
# ]
# FIX: #1861 move notif from attachment to msg body - bbq
"text": attachment_text
}
try: