Skip to content

Commit f11fc41

Browse files
lunnyyp05327
andauthored
Update routers/web/repo/issue_dev.go
Co-authored-by: yp05327 <[email protected]>
1 parent 86e4f29 commit f11fc41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/issue_dev.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func CreateBranchFromIssue(ctx *context.Context) {
5050

5151
perm, err := access_model.GetUserRepoPermission(ctx, repo, ctx.Doer)
5252
if err != nil {
53-
ctx.ServerError("GetRepositoryByID", err)
53+
ctx.ServerError("GetUserRepoPermission", err)
5454
return
5555
}
5656

0 commit comments

Comments
 (0)