mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 15:36:04 -03:30
Use patch instead of put when updating a wfjt
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