1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/notification
Andreas Lutro b5b5410575
move conversion of data to json in slack API handling (#1101)
* move conversion of data to json in slack API handling

at one point in do_notify_slack, we do operations on the payload
variable assuming it's a dict, but it's not: it's a json encoded string.

it's useful to operate on the payload as a dict rather than a string, so
solve this problem by moving the jsonify call to right before sending
the payload to the slack API.

fixes #1097

* add changelog fragment

* Update changelogs/fragments/1101-slack-ts-fix.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

* return payload as a json encoded string for backwards compatibility

Co-authored-by: Felix Fontein <felix@fontein.de>
2020-10-19 10:58:14 +03:00
..
bearychat.py Fix M(). (#591) 2020-06-29 14:59:15 +02:00
campfire.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
catapult.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
cisco_spark.py cisco_spark -> cisco_webex rename and message option fix (#457) 2020-06-09 09:38:06 +03:00
cisco_webex.py Clean up deprecations (#504) 2020-06-16 13:15:19 +02:00
flowdock.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
grove.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
hipchat.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
irc.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
jabber.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
logentries_msg.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
mail.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
matrix.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
mattermost.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
mqtt.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
nexmo.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
office_365_connector_card.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pushbullet.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pushover.py Specify device for Pushover notification (#802) 2020-09-03 08:01:52 +02:00
rocketchat.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
say.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
sendgrid.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
slack.py move conversion of data to json in slack API handling (#1101) 2020-10-19 10:58:14 +03:00
syslogger.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
telegram.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
twilio.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
typetalk.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00