1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-03-12 23:13:09 +00:00

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

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: