diff --git a/awx/main/notifications/slack_backend.py b/awx/main/notifications/slack_backend.py index 3f795778f0..b68f91ef7c 100644 --- a/awx/main/notifications/slack_backend.py +++ b/awx/main/notifications/slack_backend.py @@ -16,12 +16,11 @@ WEBSOCKET_TIMEOUT = 30 class SlackBackend(AWXBaseEmailBackend): init_parameters = {"token": {"label": "Token", "type": "password"}, - "hex_color": {"label": "Notification Color", "type": "string"}, "channels": {"label": "Destination Channels", "type": "list"}} recipient_parameter = "channels" sender_parameter = None - def __init__(self, token, hex_color, fail_silently=False, **kwargs): + def __init__(self, token, hex_color="", fail_silently=False, **kwargs): super(SlackBackend, self).__init__(fail_silently=fail_silently) self.token = token self.color = None