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:
parent
8de481431d
commit
cd5bbfe74b
1 changed files with 9 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue