summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsoftwarefactory-project-zuul[bot] <softwarefactory-project-zuul[bot]@users.noreply.github.com>2018-11-19 20:23:26 +0100
committerGitHub <noreply@github.com>2018-11-19 20:23:26 +0100
commit0c1a4439ba262ba77639da70239c5c3385232a50 (patch)
tree19b847dee3a63920ceb1f091fc1408653ba8663a
parentMerge pull request #2746 from jlmitch5/navColorContrast (diff)
parentUse patch instead of put when updating a wfjt (diff)
downloadawx-0c1a4439ba262ba77639da70239c5c3385232a50.tar.xz
awx-0c1a4439ba262ba77639da70239c5c3385232a50.zip
Merge pull request #2745 from mabashian/2428-workflow-edit-patch
Use patch instead of put when updating a wfjt Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
-rw-r--r--awx/ui/client/src/templates/templates.service.js2
1 files changed, 1 insertions, 1 deletions
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');