silverwind authored and GitHub committed 2023-10-24 02:54:59 +00:00
1 parent def907de7b
commit ce83609ff6
18 files changed
+105 -119

No files matched your search

+1 -2
View File
@@ -625,9 +625,8 @@ func EditPullRequest(ctx *context.APIContext) {
} else if models.IsErrPullRequestHasMerged(err) {
ctx.Error(http.StatusConflict, "IsErrPullRequestHasMerged", err)
return
} else {
ctx.InternalServerError(err)
}
ctx.InternalServerError(err)
return
}
notify_service.PullRequestChangeTargetBranch(ctx, ctx.Doer, pr, form.Base)