mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Change init parameter name to 'http_method' to reduce ambiguity
This commit is contained in:
@@ -15,7 +15,7 @@ logger = logging.getLogger('awx.main.notifications.webhook_backend')
|
|||||||
class WebhookBackend(AWXBaseEmailBackend):
|
class WebhookBackend(AWXBaseEmailBackend):
|
||||||
|
|
||||||
init_parameters = {"url": {"label": "Target URL", "type": "string"},
|
init_parameters = {"url": {"label": "Target URL", "type": "string"},
|
||||||
"method": {"label": "HTTP Method", "type": "string", "default": "POST"},
|
"http_method": {"label": "HTTP Method", "type": "string", "default": "POST"},
|
||||||
"disable_ssl_verification": {"label": "Verify SSL", "type": "bool", "default": False},
|
"disable_ssl_verification": {"label": "Verify SSL", "type": "bool", "default": False},
|
||||||
"username": {"label": "Username", "type": "string", "default": ""},
|
"username": {"label": "Username", "type": "string", "default": ""},
|
||||||
"password": {"label": "Password", "type": "password", "default": ""},
|
"password": {"label": "Password", "type": "password", "default": ""},
|
||||||
|
|||||||
Reference in New Issue
Block a user