mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-07 02:26:05 +02:00
Merge branch 'master' into mysql_support
This commit is contained in:
@@ -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}),
|
||||
|
||||
Reference in New Issue
Block a user