diff options
author | softwarefactory-project-zuul[bot] <softwarefactory-project-zuul[bot]@users.noreply.github.com> | 2018-11-19 20:23:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-19 20:23:26 +0100 |
commit | 0c1a4439ba262ba77639da70239c5c3385232a50 (patch) | |
tree | 19b847dee3a63920ceb1f091fc1408653ba8663a | |
parent | Merge pull request #2746 from jlmitch5/navColorContrast (diff) | |
parent | Use patch instead of put when updating a wfjt (diff) | |
download | awx-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.js | 2 |
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'); |