From 97f841057f8b8128db90481d8d7cb9f66f9f05ac Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Wed, 24 Jul 2019 15:49:26 -0400 Subject: [PATCH] fix method mapping for webhook notification add --- awx/ui/client/src/notifications/add/add.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/notifications/add/add.controller.js b/awx/ui/client/src/notifications/add/add.controller.js index bd7fc04e5f..3197dd310c 100644 --- a/awx/ui/client/src/notifications/add/add.controller.js +++ b/awx/ui/client/src/notifications/add/add.controller.js @@ -90,7 +90,7 @@ export default ['Rest', 'Wait', 'NotificationsFormObject', $scope.httpMethodChoices = [ {'id': 'POST', 'name': i18n._('POST')}, - {'id': 'POST', 'name': i18n._('PUT')}, + {'id': 'PUT', 'name': i18n._('PUT')}, ]; CreateSelect2({ element: '#notification_template_http_method',