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:
parent
9a70ac88c0
commit
31a96d20ab
@ -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']:
|
||||||
|
Loading…
Reference in New Issue
Block a user