mirror of https://github.com/evilhero/mylar
FIX: #1861 move notif from attachment to msg body
FIX: #1861 move notif from attachment to msg body
This commit is contained in:
parent
f091ac5fa2
commit
9c65a0d37a
|
@ -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 notification from attachment to msg body - bbq
|
||||
"text": attachment_text
|
||||
}
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue