1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Update slack_backend.py

This commit is contained in:
Guillaume Marsay 2019-10-26 22:07:31 +02:00 committed by GitHub
parent 9a70ac88c0
commit 31a96d20ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,7 @@ class SlackBackend(AWXBaseEmailBackend):
else: else:
ret = connection.api_call("chat.postMessage", ret = connection.api_call("chat.postMessage",
channel=r, channel=r,
as_user=True,
text=m.subject) text=m.subject)
logger.debug(ret) logger.debug(ret)
if ret['ok']: if ret['ok']: