Skip to content

Commit 962ea78

Browse files
committed
fix lints
1 parent 78c9d4c commit 962ea78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/setting/protected_branch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ func UpdateBranchProtectionPriories(ctx *context.Context) {
325325
form := web.GetForm(ctx).(*forms.ProtectBranchPriorityForm)
326326
repo := ctx.Repo.Repository
327327

328-
if err := git_model.UpdateProtectBranchPriorities(ctx, repo, form.IDS); err != nil {
328+
if err := git_model.UpdateProtectBranchPriorities(ctx, repo, form.IDs); err != nil {
329329
ctx.ServerError("UpdateProtectBranchPriorities", err)
330330
return
331331
}

0 commit comments

Comments
 (0)