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:
softwarefactory-project-zuul[bot]
2018-11-19 19:23:26 +00:00
committed by GitHub

View File

@@ -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');