mirror of
https://github.com/go-gitea/gitea
synced 2025-02-11 00:17:04 +01:00
Update routers/web/repo/issue_dev.go
Co-authored-by: yp05327 <576951401@qq.com>
This commit is contained in:
parent
86e4f29d20
commit
f11fc417c6
@ -50,7 +50,7 @@ func CreateBranchFromIssue(ctx *context.Context) {
|
||||
|
||||
perm, err := access_model.GetUserRepoPermission(ctx, repo, ctx.Doer)
|
||||
if err != nil {
|
||||
ctx.ServerError("GetRepositoryByID", err)
|
||||
ctx.ServerError("GetUserRepoPermission", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user