We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78c9d4c commit 962ea78Copy full SHA for 962ea78
routers/web/repo/setting/protected_branch.go
@@ -325,7 +325,7 @@ func UpdateBranchProtectionPriories(ctx *context.Context) {
325
form := web.GetForm(ctx).(*forms.ProtectBranchPriorityForm)
326
repo := ctx.Repo.Repository
327
328
- if err := git_model.UpdateProtectBranchPriorities(ctx, repo, form.IDS); err != nil {
+ if err := git_model.UpdateProtectBranchPriorities(ctx, repo, form.IDs); err != nil {
329
ctx.ServerError("UpdateProtectBranchPriorities", err)
330
return
331
}
0 commit comments