Merge branch 'master' into mysql_support

This commit is contained in:
Naoki Takezoe
2016-04-20 01:13:25 +09:00

View File

@@ -107,7 +107,7 @@ function submitForm(e){
var protection = getValue();
$.ajax({
method:'PATCH',
url:'/api/v3/repos/@repository.owner/@repository.name/branches/@encodeRefName(branch)',
url:'@path/api/v3/repos/@repository.owner/@repository.name/branches/@encodeRefName(branch)',
contentType: 'application/json',
dataType: 'json',
data:JSON.stringify({protection:protection}),