From 1d7d2820fd70946fa978706880daee20b288ddb4 Mon Sep 17 00:00:00 2001 From: mabashian Date: Mon, 19 Nov 2018 12:04:01 -0500 Subject: [PATCH] Use patch instead of put when updating a wfjt --- awx/ui/client/src/templates/templates.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/templates/templates.service.js b/awx/ui/client/src/templates/templates.service.js index 1a63cb6553..63dfe91590 100644 --- a/awx/ui/client/src/templates/templates.service.js +++ b/awx/ui/client/src/templates/templates.service.js @@ -151,7 +151,7 @@ export default ['Rest', 'GetBasePath', '$q', 'NextPage', function(Rest, GetBaseP url = url + params.id; Rest.setUrl(url); - return Rest.put(params.data); + return Rest.patch(params.data); }, getWorkflowJobTemplate: function(id) { var url = GetBasePath('workflow_job_templates');