mirror of
https://github.com/ansible/awx.git
synced 2026-01-23 15:38:06 -03:30
Changing the color option for hipchat to always be lowercase (expected by the API)
Signed-off-by: Romain Brucker <romain.brucker@amalto.com>
This commit is contained in:
parent
45c516bf02
commit
e67549e4a1
@ -38,7 +38,7 @@ class HipChatBackend(AWXBaseEmailBackend):
|
||||
r = requests.post("{}/v2/room/{}/notification".format(self.api_url, rcp),
|
||||
params={"auth_token": self.token},
|
||||
verify=False,
|
||||
json={"color": self.color,
|
||||
json={"color": self.color.lower(),
|
||||
"message": m.subject,
|
||||
"notify": self.notify,
|
||||
"from": m.from_email,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user