mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 00:57:48 -02:30
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]
This commit is contained in:
@@ -151,7 +151,7 @@ export default ['Rest', 'GetBasePath', '$q', 'NextPage', function(Rest, GetBaseP
|
|||||||
url = url + params.id;
|
url = url + params.id;
|
||||||
|
|
||||||
Rest.setUrl(url);
|
Rest.setUrl(url);
|
||||||
return Rest.put(params.data);
|
return Rest.patch(params.data);
|
||||||
},
|
},
|
||||||
getWorkflowJobTemplate: function(id) {
|
getWorkflowJobTemplate: function(id) {
|
||||||
var url = GetBasePath('workflow_job_templates');
|
var url = GetBasePath('workflow_job_templates');
|
||||||
|
|||||||
Reference in New Issue
Block a user