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
commit 0c1a4439ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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