From 52b01feafee1d6dd1084cd25906f62484a363d27 Mon Sep 17 00:00:00 2001 From: beeankha Date: Mon, 24 Jun 2019 11:15:00 -0400 Subject: [PATCH] Change init parameter name to 'http_method' to reduce ambiguity --- awx/main/notifications/webhook_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/notifications/webhook_backend.py b/awx/main/notifications/webhook_backend.py index 61242d2237..a10004ffc8 100644 --- a/awx/main/notifications/webhook_backend.py +++ b/awx/main/notifications/webhook_backend.py @@ -15,7 +15,7 @@ logger = logging.getLogger('awx.main.notifications.webhook_backend') class WebhookBackend(AWXBaseEmailBackend): 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}, "username": {"label": "Username", "type": "string", "default": ""}, "password": {"label": "Password", "type": "password", "default": ""},